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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:sangfor:next-gen_application_firewall:ngaf8.0.17:*:*:*:*:*:*:*

History

13 Oct 2023, 15:00

Type Values Removed Values Added
CPE cpe:2.3:a:sangfor:next-gen_application_firewall:ngaf8.0.17:*:*:*:*:*:*:*
First Time Sangfor
Sangfor next-gen Application Firewall
References (MISC) https://aws.amazon.com/marketplace/pp/prodview-uujwjffddxzp4 - (MISC) https://aws.amazon.com/marketplace/pp/prodview-uujwjffddxzp4 - Product
References (MISC) https://labs.watchtowr.com/yet-more-unauth-remote-command-execution-vulns-in-firewalls-sangfor-edition/ - (MISC) https://labs.watchtowr.com/yet-more-unauth-remote-command-execution-vulns-in-firewalls-sangfor-edition/ - Exploit, Third Party Advisory
References (MISC) https://vulncheck.com/advisories/sangfor-ngaf-sessid-rce - (MISC) https://vulncheck.com/advisories/sangfor-ngaf-sessid-rce - Third Party Advisory
CWE CWE-78
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8

10 Oct 2023, 15:47

Type Values Removed Values Added
New CVE

Information

Published : 2023-10-10 15:15

Updated : 2024-02-28 20:33


NVD link : CVE-2023-30806

Mitre link : CVE-2023-30806

CVE.ORG link : CVE-2023-30806


JSON object : View

Products Affected

sangfor

  • next-gen_application_firewall
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')