CVE-2023-30806
CriticalPublic exploitThe Sangfor Next-Gen Application Firewall version NGAF8.0.17 is vulnerable to an operating system command injection vulnerability.
Published Oct 10, 2023 · Updated Nov 22, 2025
Key Facts
Patch immediately- CVE-2023-30806 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Next-Gen Application Firewall (Sangfor), Net-Gen Application Firewall.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 65% probability of exploitation in the next 30 days.
- No fixed version is listed yet; check the vendor advisory for mitigations.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
65%
Higher than 99.2% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2023-30806 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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 /cgi-bin/login.cgi endpoint. This is due to mishandling of shell meta-characters in the PHPSESSID cookie.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Next-Gen Application FirewallSangfor | ngaf8.0.17 | n/a |
| Net-Gen Application Firewall | >= 8.0.17 | n/a |
Timeline
Publicly disclosed
Oct 10, 2023
Last updated
Nov 22, 2025
Weakness Type
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
FAQ
Common Questions.
The Sangfor Next-Gen Application Firewall version NGAF8.0.17 is vulnerable to an operating system command injection vulnerability.
Affected: Next-Gen Application Firewall (Sangfor) versions ngaf8.0.17; Net-Gen Application Firewall versions >= 8.0.17. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
No fixed version is listed yet; check the vendor advisory for mitigations.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2023-30806 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo