CVE-2016-9492

published 13 Jul 2018 · updated 6 Aug 2024

PHP forms generated using the PHP FormMail Generator are vulnerable to unrestricted upload of dangerous file types

5.0MediumEPSS 3%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. Fixed in 17/12/2016.

The code generated by PHP FormMail Generator prior to 17 December 2016 is vulnerable to unrestricted upload of dangerous file types. In the generated form.lib.php file, upload file types are checked against a hard-coded list of dangerous extensions. This list does not include all variations of PHP files, which may lead to execution of the contained PHP code if the attacker can guess the uploaded filename. The form by default appends a short random string to the end of the filename.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
PHP FormMail>=17/12/2016 <17/12/201617/12/2016

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2016-9492 severity on Zeptric[![CVE-2016-9492](https://zeptric.io/badge/cve/CVE-2016-9492.svg)](https://zeptric.io/cve/CVE-2016-9492)