What’s Vulnerable › Vulnerabilities
CVE-2023-30805: Sangfor Next-Gen Application Firewall Login Un Param Command Injection
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 65.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-10-10 · updated 2026-06-17
- Weakness: CWE-78
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.
Affected products
References
- https://aws.amazon.com/marketplace/pp/prodview-uujwjffddxzp4
- https://labs.watchtowr.com/yet-more-unauth-remote-command-execution-vulns-in-firewalls-sangfor-edition/
- https://vulncheck.com/advisories/sangfor-ngaf-username-rce
- https://aws.amazon.com/marketplace/pp/prodview-uujwjffddxzp4
- https://labs.watchtowr.com/yet-more-unauth-remote-command-execution-vulns-in-firewalls-sangfor-edition/
- https://vulncheck.com/advisories/sangfor-ngaf-username-rce
Get alerted when CVE-2023-30805 or the next vulnerability affects your stack