Skip to main content
CVE-2023-30805VulnerabilityPublished Updated

CVE-2023-30805: Sangfor Net-Gen Application Firewall · OS Command Injection

Affects Sangfor Net-Gen Application FirewallSource CVE Database V5

0

Not known to be exploited · 64% EPSS · CVSS 9.8 Critical.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Oct 2023

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Sangfor Net-Gen Application FirewallAffected
  • =8.0.17
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.

References

Community reviews

Loading reviews…