{"id":"CVE-2023-30805","aliases":["EUVD-2023-35165","GHSA-398q-w43p-26hx"],"status":"published","title":"Sangfor Next-Gen Application Firewall Login Un Param Command Injection","description":"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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.64974,"percentile":0.9926,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-78"],"published":"2023-10-10T14:25:16Z","modified":"2026-06-17T05:55:44Z","products":[{"vendor":"sangfor","product":"net-gen application firewall"},{"vendor":"sangfor","product":"next-gen_application_firewall"}],"references":[{"url":"https://labs.watchtowr.com/yet-more-unauth-remote-command-execution-vulns-in-firewalls-sangfor-edition/","tags":["third-party-advisory","exploit","technical-description","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://vulncheck.com/advisories/sangfor-ngaf-username-rce","tags":["third-party-advisory","x_transferred","Third Party Advisory"]},{"url":"https://aws.amazon.com/marketplace/pp/prodview-uujwjffddxzp4","tags":["product","x_transferred","Product"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30805"},{"url":"https://labs.watchtowr.com/yet-more-unauth-remote-command-execution-vulns-in-firewalls-sangfor-edition"},{"url":"https://github.com/advisories/GHSA-398q-w43p-26hx"}],"sources":{"cve":[{"id":"CVE-2023-30805","title":"Sangfor Next-Gen Application Firewall Login Un Param Command Injection","description":"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.","status":"published","published":"2023-10-10T14:25:16.222Z","modified":"2025-11-28T15:59:17.99Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:35:22.309324Z"}],"euvd":[{"id":"EUVD-2023-35165","description":"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.","status":"published","published":"2023-10-10T14:25:16Z","modified":"2025-11-28T15:59:17Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T19:49:11.947161Z"}],"ghsa":[{"id":"GHSA-398q-w43p-26hx","title":"The Sangfor Next-Gen Application Firewall version NGAF8.0.17 is vulnerable to an operating system...","description":"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.","status":"published","published":"2023-10-10T15:30:51Z","modified":"2025-11-28T18:31:22Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:04:59.128724Z"}],"nvd":[{"id":"CVE-2023-30805","description":"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.","status":"published","published":"2023-10-10T15:15:10.107Z","modified":"2026-06-17T05:55:44.157Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:08:36.656095Z"}]}}
