Sangfor Next-Gen Application Firewall Login Un Param Command Injection
No fixed version listed yet.Check the vendor advisory. References ↓
Sangfor · Net-Gen Application Firewall
The Sangfor Next-Gen Application Firewall (NGAF) 8.0.17 contains an OS command injection flaw in its login handling, where shell meta-characters in the "un" parameter are not neutralised. An attacker who can reach the device over the network and send a crafted HTTP POST request to /LogInOut.php can run arbitrary operating system commands, without needing credentials or any 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 /LogInOut.php endpoint. This is due to mishandling of shell meta-characters in the "un" parameter.
- 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