CVE-2023-30806Sangfor Next-gen Application Firewall
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Sangfor · Sangfor Next-gen Application Firewall We alert you by email or Slack (account required).
- Priority
- 77
- CVSS 3.1
- 9.8
- EPSS
- 35.4% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Oct 10, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Next-gen Application Firewall.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sangfor | next-gen_application_firewall | ngaf8.0.17 |
Official sources
References
Links published by the sources. Open them with care.
- aws.amazon.com Product
- labs.watchtowr.com Exploit Third Party Advisory
- vulncheck.com Third Party Advisory