{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-9492 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2016-9492 yet. Limit exposure of the affected software until one is available.","what":"CVE-2016-9492 is a critical vulnerability in PHP FormMail Generator, published on 13 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-9492 and fix it if it is affected.\n\nWhat it is: CVE-2016-9492 is a critical vulnerability in PHP FormMail Generator, published on 13 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2016-9492 in the wild and no public exploit code.\n\nAffected product: PHP FormMail Generator. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2016-9492/ (Markdown: https://insights.sbomify.com/CVE-2016-9492/index.md)","id":"CVE-2016-9492","markdown":"https://insights.sbomify.com/CVE-2016-9492/index.md","name":"CVE-2016-9492","record":{"aliases":["GHSA-2wvx-75wc-hc4w"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP FormMail Generator","requires_auth":"none","summary":"Attackers can upload malicious PHP files via generated forms due to incomplete extension blacklisting, potentially achieving remote code execution.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"certcc","cpe":[{"product":"php_formmail_generator","vendor":"jqueryform"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"PHP forms generated using the PHP FormMail Generator are vulnerable to unrestricted upload of dangerous file types","id":"CVE-2016-9492","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2016"},"n_packages":0,"n_references":2,"next":{"headline":"PHP forms generated using the PHP FormMail Generator are vulnerable to stored cross-site scripting","id":"CVE-2016-9493"},"packages":[],"prev":{"headline":"XML external entity in Applications Manager","id":"CVE-2016-9491"},"products":["Generator"],"published":"2018-07-13","related":[{"cvss_score":9.8,"headline":"Auth bypass in Generator","id":"CVE-2016-9482","kev_date_added":null,"published":"2018-07-13"},{"cvss_score":9.8,"headline":"Deserialization in Generator","id":"CVE-2016-9483","kev_date_added":null,"published":"2018-07-13"},{"cvss_score":7.5,"headline":"Path traversal in Generator","id":"CVE-2016-9484","kev_date_added":null,"published":"2018-07-13"},{"cvss_score":6.1,"headline":"PHP forms generated using the PHP FormMail Generator are vulnerable to stored cross-site scripting","id":"CVE-2016-9493","kev_date_added":null,"published":"2018-07-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["PHP FormMail"]},"summary":"Attackers can upload malicious PHP files via generated forms due to incomplete extension blacklisting, potentially achieving remote code execution.","url":"https://insights.sbomify.com/CVE-2016-9492/"}