Arbitrary file write via unchecked upload path
Published Jul 16, 2024 · Updated Aug 5, 2024
Unrestricted file upload in Ruijie Networks RG-EG2000SE 11.9 B11P1 allows remote attackers to write arbitrary files through upload.php. The UploadFile class fails to reject null-byte input and traversal-equivalent /var/./html destinations, letting a multipart filename place PHP content under the web root. Unauthenticated network access is sufficient; the established consequence is attacker-controlled file placement, not documented disclosure or interruption.
Summary
What happened
Unrestricted file upload in Ruijie Networks RG-EG2000SE 11.9 B11P1 allows remote attackers to write arbitrary files through upload.php. The UploadFile class fails to reject null-byte input and traversal-equivalent /var/./html destinations, letting a multipart filename place PHP content under the web root. Unauthenticated network access is sufficient; the established consequence is attacker-controlled file placement, not documented disclosure or interruption.
The record
- CVE
- CVE-2019-16640
- Published
- Jul 16, 2024
- Updated
- Aug 5, 2024
- Vendor
- Ruijie Networks
- Product
- RG-EG2000SE
- Classifications
- CWE-284, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 16, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2024Record 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=eg_rgos_11.9_b11p1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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.
Public exploit references
- Multipart upload.php proof of conceptproof of concept · 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