CVE-2016-9492 PHP forms generated using the PHP FormMail Generator are vulnerable to unrestricted upload of dangerous file types
Attackers can upload malicious PHP files via generated forms due to incomplete extension blacklisting, potentially achieving remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2016-9492?
CVE-2016-9492 is a critical vulnerability in PHP FormMail Generator, published on 13 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-434
Which versions are affected by CVE-2016-9492?
It affects 1 product.
Products include Jqueryform Php Formmail Generator.
How do I fix CVE-2016-9492?
No fix has been published for CVE-2016-9492 yet. Limit exposure of the affected software until one is available.
Is CVE-2016-9492 being exploited?
There is no known exploitation of CVE-2016-9492 in the wild and no public exploit code.
Other vulnerabilities in PHP FormMail Generator
Sources
Also known as GHSA-2wvx-75wc-hc4w.