CVE-2023-30805 Sangfor Next-Gen Application Firewall Login Un Param Command Injection

Critical 9.8 Published Updated

Remote unauthenticated attackers can execute arbitrary OS commands via crafted HTTP requests to the firewall's login endpoint.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-30805?

CVE-2023-30805 is a critical command injection vulnerability in Sangfor Net-Gen Application Firewall, published on 10 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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 /LogInOut.php endpoint. This is due to mishandling of shell meta-characters in the "un" parameter.

Weakness: CWE-78

Which versions are affected by CVE-2023-30805?

It affects 1 product.

Products include Sangfor Next-Gen Application Firewall.

How do I fix CVE-2023-30805?

No fix has been published for CVE-2023-30805 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-30805 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-30805 exists.

Sources

Also known as GHSA-398q-w43p-26hx.

Is CVE-2023-30805 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free