What’s Vulnerable › Vulnerabilities
CVE-2016-9492: PHP forms generated using the PHP FormMail Generator are vulnerable to unrestricted upload of dangerous file types
- Severity: critical (CVSS 9.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-07-13 · updated 2026-06-17
- Weakness: CWE-434
Description
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 products
- PHP FormMail Generator: before 2016-12-17 — fixed in 2016-12-17
How to fix
Upgrade to a fixed version: PHP FormMail Generator 2016-12-17. Check the vendor advisory for mitigations.
References
- http://www.securityfocus.com/bid/96718
- https://www.kb.cert.org/vuls/id/608591
- http://www.securityfocus.com/bid/96718
- https://www.kb.cert.org/vuls/id/608591
Get alerted when CVE-2016-9492 or the next vulnerability affects your stack