PHP forms generated using the PHP FormMail Generator are vulnerable to unrestricted upload of dangerous file types
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
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| PHP FormMail | >=17/12/2016 <17/12/2016 | 17/12/2016 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket