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 trend (30 days)EPSS over the last 30 days for CVE-2023-30806: fell from 0.658 to 0.650.

EPSS over last 30 days · oldest: 0.658 · newest: 0.650 · change: -0.008

Affected products

Weakness classification (CWE)

References

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.