CVE-2016-9492
PHP forms generated using the PHP FormMail Generator are vulnerable to unrestricted upload of dangerous file types
Published 8 y ago · modified 4 mo ago · JSON
Summary
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.
Exploit prediction (EPSS)
3.33% probability of exploitation in the next 30 days, higher than 89% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected products
- PHP FormMail Generator
Classification
- Weakness
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
- securityfocus.com /bid/96718 · vdb-entry, x_refsource_BID, x_transferred
- kb.cert.org /vuls/id/608591 · third-party-advisory, x_refsource_CERT-VN, x_transferred
Sources
- CVE List: CVE-2016-9492
- NVD: CVE-2016-9492
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.