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

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

Summary

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.

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