Sangfor Next-Gen Application Firewall PHPSESSID Command Injection
No fixed version listed yet.Check the vendor advisory. References ↓
Sangfor · Net-Gen Application Firewall
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.
- Exploited
- Not confirmed
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
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 recordSangfor Net-Gen Application Firewall
Affected: 8.0.17
Attack pattern (CAPEC)
CAPEC-88 OS Command Injection