CVE-2023-30805: Sangfor Net-Gen Application Firewall · OS Command Injection
Affects Sangfor Net-Gen Application FirewallSource CVE Database V5
Not known to be exploited · 64% EPSS · CVSS 9.8 Critical.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 64.9% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Oct 2023
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Sangfor Net-Gen Application Firewall | Affected
| Fixed in– |
AI-suggested
Immediate mitigation should focus on restricting access to the /LogInOut.php endpoint by implementing network-level controls such as IP whitelisting or VPN-only access for management interfaces. Deploy Web Application Firewalls (WAFs) or intrusion prevention systems (IPS) with signatures or heuristics to detect and block malicious payloads targeting the 'un' parameter. Monitor firewall logs for unusual POST requests or command execution patterns. Engage with Sangfor support for updates and apply patches as soon as they become available. Conduct thorough security audits and penetration tests to identify any signs of compromise. Additionally, implement strict network segmentation to limit the blast radius if exploitation occurs. Maintain up-to-date backups and incident response plans tailored to firewall compromise scenarios.
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.