{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-30806","published":"2023-10-10T15:15:10.170000Z","last_modified":"2026-06-17T05:55:44.307000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-78"],"cpes":[{"criteria":"cpe:2.3:a:sangfor:next-gen_application_firewall:ngaf8.0.17:*:*:*:*:*:*:*","part":"a","vendor":"sangfor","product":"next-gen_application_firewall","version":"ngaf8.0.17"}],"cpes_truncated":false,"vendors":["sangfor"],"products":["sangfor/next-gen_application_firewall"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"epss":{"score":0.35374,"percentile":0.98824,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":77,"links":{"html_es":"/es/cve/CVE-2023-30806/","html_en":"/en/cve/CVE-2023-30806/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-30806","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-30806"},"untrusted":{"vendor_name":"Sangfor","product_name":"Next-gen Application Firewall","desc_en":"The Sangfor Next-Gen Application Firewall version NGAF8.0.17 is vulnerable to an operating system command injection vulnerability. A remote and unauthenticated attacker can execute arbitrary commands by sending a crafted HTTP POST request to the /cgi-bin/login.cgi endpoint. This is due to mishandling of shell meta-characters in the PHPSESSID cookie.","affected":[{"untrusted_vendor":"Sangfor","untrusted_product":"Net-Gen Application Firewall","versions":[]}],"references":[{"url":"https://aws.amazon.com/marketplace/pp/prodview-uujwjffddxzp4","tags":["Product"]},{"url":"https://labs.watchtowr.com/yet-more-unauth-remote-command-execution-vulns-in-firewalls-sangfor-edition/","tags":["Exploit","Third Party Advisory"]},{"url":"https://vulncheck.com/advisories/sangfor-ngaf-sessid-rce","tags":["Third Party Advisory"]}]}}