Arbitrary file read via unconstrained loadfile path
Published Oct 10, 2023 · Updated Nov 28, 2025
Path traversal in Sangfor Next-Generation Application Firewall AF5.4 through AF8.0.17 allows remote authenticated users to read system files. The /svpn_html/loadfile.php endpoint passes the untrusted file parameter to file_exists() and readfile() without constraining its path. Authentication is normally required; chaining CVE-2023-30803 bypasses that gate, and exposed files can include live session identifiers.
Summary
What happened
Path traversal in Sangfor Next-Generation Application Firewall AF5.4 through AF8.0.17 allows remote authenticated users to read system files. The /svpn_html/loadfile.php endpoint passes the untrusted file parameter to file_exists() and readfile() without constraining its path. Authentication is normally required; chaining CVE-2023-30803 bypasses that gate, and exposed files can include live session identifiers.
The record
- CVE
- CVE-2023-30804
- Published
- Oct 10, 2023
- Updated
- Nov 28, 2025
- Vendor
- Sangfor Technologies
- Product
- Next-Generation Application Firewall
- Classifications
- CWE-200, T1190, T1005
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 10, 2023CVE publishedPublication date reported by the CVE source.
- Nov 28, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=8.0.17
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- watchTowr NGAF loadfile.php file-read proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo