CVE-2023-30804 Sangfor Next-Gen Application Firewall Authenticated File Disclosure

Medium 6.9 Published Updated

Authenticated attackers can read arbitrary system files via a path traversal flaw in the firewall's file loading endpoint.

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

What is CVE-2023-30804?

CVE-2023-30804 is a medium-severity path traversal vulnerability in Sangfor Next-Gen Application Firewall (NGAF), published on 10 Oct 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The Sangfor Next-Gen Application Firewall version NGAF8.0.17 is vulnerable to an authenticated file disclosure vulnerability. A remote and authenticated attacker can read arbitrary system files using the svpn_html/loadfile.php endpoint. This issue is exploitable by a remote and unauthenticated attacker when paired with CVE-2023-30803.

Weakness: CWE-22

Which versions are affected by CVE-2023-30804?

It affects 1 product.

Products include Sangfor Next-Gen Application Firewall.

How do I fix CVE-2023-30804?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-30804 being exploited?

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

Sources

Also known as GHSA-59w3-fc6m-5c93.

Is CVE-2023-30804 in your software?

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

Check your SBOMs for free