9.8critical
Sangfor Next-Gen Application Firewall Login Un Param Command Injection
- Severity
- 9.8critical CVSS:3.1 by VulnCheck
- Exploit likelihood
- 65.0% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| Sangfor Net-Gen Application Firewall | 8.0.17 | CVE List |
| sangfor next-gen_application_firewall | 8.0.17 | NVD |
All scores
| VulnCheck | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
La versión NGAF8.0.17 de Sangfor Next-Gen Application Firewall está afectada por una vulnerabilidad de inyección de comandos del sistema operativo. Un atacante remoto y no autenticado puede ejecutar comandos arbitrarios enviando una solicitud HTTP POST manipulada al endpoint /LogInOut.php. Esto se debe a un mal manejo de los metacaracteres del shell en el parámetro "un".
References
| https://labs.watchtowr.com/yet-more-unauth-remote-command-execution-vulns-in-firewalls-sangfor-edition/ | exploit, technical-description, third-party-advisory | |
| https://vulncheck.com/advisories/sangfor-ngaf-username-rce | third-party-advisory | |
| https://aws.amazon.com/marketplace/pp/prodview-uujwjffddxzp4 | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-30805 changed 2025-11-28 | CVE Terms of Use |
| NVD | CVE-2023-30805 changed 2026-06-17 | Public domain |