Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-30806— Sangfor Next-Gen Application Firewall PHPSESSID Command Injection

Quick assessment

Affected
Sangfor Net-Gen Application Firewall
Exploitation
High exploitation probability; assess promptly
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Sangfor Next-Gen Application Firewall(Sangfor NGAF)是中国深信服(Sangfor)公司的一款应用防火墙。 Sangfor Next-Gen Application Firewall NGAF8.0.17版本存在安全漏洞,该漏洞源于存在操作系统命令注入漏洞。攻击者可利用该漏洞通过向/cgi-bin/login.cgi端点发送HTTP POST请求来执行任意命令。

CVSS 9.8 · Critical EPSS 64.97% · P99

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-30806

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Sangfor Next-Gen Application Firewall PHPSESSID Command Injection
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Sangfor Next-Gen Application Firewall 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Sangfor Next-Gen Application Firewall(Sangfor NGAF)是中国深信服(Sangfor)公司的一款应用防火墙。 Sangfor Next-Gen Application Firewall NGAF8.0.17版本存在安全漏洞,该漏洞源于存在操作系统命令注入漏洞。攻击者可利用该漏洞通过向/cgi-bin/login.cgi端点发送HTTP POST请求来执行任意命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Sangfor Net-Gen Application Firewall 8.0.17 -

II. Public POCs for CVE-2023-30806

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-30806

请登录查看更多情报信息。

Other References for CVE-2023-30806 (3)

Same Patch Batch · Sangfor · 2023-10-10 · 5 CVEs total

CVE-2023-30805 9.8 CRITICAL Sangfor Next-Gen Application Firewall Login Un Param Command Injection
CVE-2023-30803 9.8 CRITICAL Sangfor Next-Gen Application Firewall Authentication Bypass
CVE-2023-30802 5.3 MEDIUM Sangfor Next-Gen Application Firewall Source Code Disclosure
CVE-2023-30804 4.9 MEDIUM Sangfor Next-Gen Application Firewall Authenticated File Disclosure

IV. Related Vulnerabilities