What’s Vulnerable › Vulnerabilities

CVE-2016-9492: PHP forms generated using the PHP FormMail Generator are vulnerable to unrestricted upload of dangerous file types

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

How to fix

Upgrade to a fixed version: PHP FormMail Generator 2016-12-17. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2016-9492 or the next vulnerability affects your stack