Patchfirst
CVE-2023-30806 Public exploit Critical · 9.8 EPSS 65.0%

Sangfor Next-Gen Application Firewall PHPSESSID Command Injection

No fixed version listed yet.Check the vendor advisory. References ↓

Sangfor · Net-Gen Application Firewall

Summary

The Sangfor Next-Gen Application Firewall (Net-Gen Application Firewall) version NGAF8.0.17 contains an operating system command injection flaw, caused by improper handling of shell meta-characters in the PHPSESSID cookie. A remote, unauthenticated attacker with network access can execute arbitrary commands by sending a crafted HTTP POST request to the /cgi-bin/login.cgi endpoint, requiring no credentials or user interaction.

Official description · CVE.org

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.

Breakdown
31.7 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 10 Oct 2023. A reference links public exploit code (undated). No confirmed exploitation is recorded.

Affected versions and fixes

as published in the CVE record

Sangfor Net-Gen Application Firewall

Affected: 8.0.17

Attack pattern (CAPEC)

CAPEC-88 OS Command Injection

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close