Vulnerability · Published Oct 10, 2023 · Assigned by VulnCheck
CVE-2023-30805Sangfor Next-Gen Application Firewall Login Un Param Command Injection
Critical 9.8
In plain English
A critical-severity OS command injection in Net-Gen Application Firewall from Sangfor. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 65.0% (higher than 99.3% of all known vulnerabilities).
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)65.0%top 0.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Sangfor | Net-Gen Application Firewall | 8.0.17 |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://labs.watchtowr.com/yet-more-unauth-remote-command-execution-vulns-in-firewalls-sangfor-edition/ third-party-advisory, exploit, technical-description
- https://vulncheck.com/advisories/sangfor-ngaf-username-rce third-party-advisory
- https://aws.amazon.com/marketplace/pp/prodview-uujwjffddxzp4 product