Vulnerabilities · 2023 · Sangfor
CVE-2023-30806
Sangfor Next-gen Application Firewall vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Next-gen Application Firewall. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Sangfor Next-gen Application Firewall runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Sangfor products
CVE-2026-1414CVE-2026-1413CVE-2026-1412CVE-2026-1325CVE-2026-1324CVE-2025-15503CVE-2025-15502CVE-2025-15501All 18
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.