RCE in Sangfor Net-Gen Application Firewall
CVE-2023-30806
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.650 (99.2th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.658 · newest: 0.650 · change: -0.008
Affected products
- Sangfor Net-Gen Application Firewall — versions 8.0.17
- Sangfor Next-Gen Application Firewall — versions ngaf8.0.17
Weakness classification (CWE)
References
- labs.watchtowr.com/yet-more-unauth-remote-command-execution-vulns-in-firewalls-… (Exploit, technical-description, Third Party Advisory, exploit, third-party-advisory)
- vulncheck.com/advisories/sangfor-ngaf-sessid-rce (Third Party Advisory, third-party-advisory)
- aws.amazon.com/marketplace/pp/prodview-uujwjffddxzp4 (Product, product)
Frequently asked questions
- What is CVE-2023-30806?
- CVE-2023-30806 is a critical-severity vulnerability in Sangfor Net-Gen Application Firewall, classified under OS Command Injection. CVSS score: 9.8/10. Published 2023-10-10.
- How severe is CVE-2023-30806?
- Critical severity. CVSS v3 base score is 9.8 out of 10.