{"id":"CVE-2023-30805","published":"2023-10-10T14:25:16Z","modified":"2025-11-28T15:59:17Z","title":"Sangfor Next-Gen Application Firewall Login Un Param Command Injection","vendor":"Sangfor","product":"Net-Gen Application Firewall","tier":"tail","description":{"text":"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 /LogInOut.php endpoint. This is due to mishandling of shell meta-characters in the \"un\" parameter.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.35374,"percentile":0.98822,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://labs.watchtowr.com/yet-more-unauth-remote-command-execution-vulns-in-firewalls-sangfor-edition/","tags":["third-party-advisory","exploit","technical-description"]},{"url":"https://vulncheck.com/advisories/sangfor-ngaf-username-rce","tags":["third-party-advisory"]},{"url":"https://aws.amazon.com/marketplace/pp/prodview-uujwjffddxzp4","tags":["product"]}],"priority":{"score":31.6,"factors":[{"name":"EPSS percentile","points":19.76},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"sangfor","affectedVersions":[{"vendor":"Sangfor","product":"Net-Gen Application Firewall","versions":["8.0.17"]}],"capec":[{"id":"CAPEC-88","name":"OS Command Injection"}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-09-18T18:19:46.900896Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The Sangfor Next-Gen Application Firewall (NGAF) 8.0.17 contains an OS command injection flaw in its login handling, where shell meta-characters in the \"un\" parameter are not neutralised. An attacker who can reach the device over the network and send a crafted HTTP POST request to /LogInOut.php can run arbitrary operating system commands, without needing credentials or any user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T03:44:56Z"},"euvd":{"id":"EUVD-2023-35165","exploited":false,"provenance":"source"},"exploitRefs":["https://labs.watchtowr.com/yet-more-unauth-remote-command-execution-vulns-in-firewalls-sangfor-edition/"]}