{"vuid":"VU#494015","idnumber":"494015","name":"PHP FormMail Generator generates code with multiple vulnerabilities","keywords":["authentication bypass","local file inclusion"],"overview":"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.","clean_desc":"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: /admin.php?mod=admin&func=panel 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.","impact":"An unauthenticated remote user may be able to gain access to the form's administrator panel, or obtain files from the server.","resolution":"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.","workarounds":"","sysaffected":"","thanks":"Thanks to Pouya Darabi for reporting this vulnerability.","author":"This document was written by Garret Wassermann.","public":["http://www.formmail-maker.com/generator.php","http://cwe.mitre.org/data/definitions/22.html","http://cwe.mitre.org/data/definitions/302.html","http://cwe.mitre.org/data/definitions/502.html"],"cveids":["CVE-2016-9482","CVE-2016-9483","CVE-2016-9484"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2016-11-29T20:04:01Z","publicdate":"2016-12-05T00:00:00Z","datefirstpublished":"2016-12-08T18:24:14Z","dateupdated":"2016-12-08T18:24:16Z","revision":31,"vrda_d1_directreport":"1","vrda_d1_population":"2","vrda_d1_impact":"2","cam_widelyknown":"0","cam_exploitation":"0","cam_internetinfrastructure":"0","cam_population":"0","cam_impact":"0","cam_easeofexploitation":"0","cam_attackeraccessrequired":"0","cam_scorecurrent":"0","cam_scorecurrentwidelyknown":"0","cam_scorecurrentwidelyknownexploited":"0","ipprotocol":"","cvss_accessvector":"N","cvss_accesscomplexity":"L","cvss_authentication":null,"cvss_confidentialityimpact":"C","cvss_integrityimpact":"C","cvss_availabilityimpact":"C","cvss_exploitablity":null,"cvss_remediationlevel":"ND","cvss_reportconfidence":"ND","cvss_collateraldamagepotential":"ND","cvss_targetdistribution":"M","cvss_securityrequirementscr":"ND","cvss_securityrequirementsir":"ND","cvss_securityrequirementsar":"ND","cvss_basescore":"10","cvss_basevector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","cvss_temporalscore":"10","cvss_environmentalscore":"7.49587104","cvss_environmentalvector":"CDP:ND/TD:M/CR:ND/IR:ND/AR:ND","metric":0.0,"vulnote":null}