Vulnerability Note VU#494015

PHP FormMail Generator generates code with multiple vulnerabilities

Original Release date: 08 Dec 2016 | Last revised: 08 Dec 2016


PHP FormMail Generator is a single-instance website that generates PHP code for standard web forms for inclusion into PHP or WordPress websites. The generated code is vulnerable to authentication bypass and unsafe deserialization of untrusted data.


CWE-302: Authentication Bypass by Assumed-Immutable Data - CVE-2016-9482

A remote unauthenticated user may bypass authentication to access the administrator panel by navigating directly to:


CWE-502: Deserialization of Untrusted Data - CVE-2016-9483

The generated PHP form code deserializes untrusted input as part of the phpfmg_filman_download() function. A remote unauthenticated attacker may be able to use this vulnerability to inject PHP code, or along with CVE-2016-9484 (below) to perform local file inclusion attacks and obtain files from the server.

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') - CVE-2016-9484

The generated PHP form code does not properly validate user input folder directories, allowing a remote unauthenticated attacker to perform a path traversal and access arbitrary files on the server.

The PHP FormMail Generator website does not use version numbers and is updated continuously. Any PHP form code generated by this website prior to 2016-12-06 may be vulnerable.


An unauthenticated remote user may be able to gain access to the form's administrator panel, or obtain files from the server.


Regenerate your PHP form code

The PHP FormMail Generator website as of 2016-12-06 generates PHP code that addresses these issues. Affected users are encouraged to regenerate the PHP form code using the website, or manually apply patches.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
PHP FormMail GeneratorAffected29 Nov 201608 Dec 2016
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C
Temporal 10.0 E:ND/RL:ND/RC:ND
Environmental 7.5 CDP:ND/TD:M/CR:ND/IR:ND/AR:ND



Thanks to Pouya Darabi for reporting this vulnerability.

This document was written by Garret Wassermann.

Other Information


If you have feedback, comments, or additional information about this vulnerability, please send us email.