Arbitrary file upload in Jqueryform PHP Formmail Generator

CVE-2016-9492

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.

Vulnerability class: Unrestricted File Upload

EPSS: 0.034 (87.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

  • cret@cert.org (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_BID)
  • cret@cert.org (US Government Resource, x_refsource_CERT-VN, Third Party Advisory, third-party-advisory)

Frequently asked questions

What is CVE-2016-9492?
CVE-2016-9492 is a critical-severity vulnerability in Jqueryform PHP Formmail Generator, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.8/10. Published 2018-07-13.
How severe is CVE-2016-9492?
Critical severity. CVSS v3 base score is 9.8 out of 10.