Vulnerability · Published Oct 10, 2023 · Assigned by VulnCheck

CVE-2023-30806Sangfor Next-Gen Application Firewall PHPSESSID 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 /cgi-bin/login.cgi endpoint. This is due to mishandling of shell meta-characters in the PHPSESSID cookie.

Affected products (as reported)

VendorProductVersions
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