Server file disclosure via raw import query
Published Sep 17, 2024 · Updated Sep 18, 2024
Information disclosure in affected Vite releases allows remote attackers to read arbitrary files from a reachable development server. The transform middleware handled raw import requests without calling ensureServingAccess, so ?import&raw routed an outside-root @fs path around server.fs.deny. Exploitation requires development-server reachability and, under the published assessment, user interaction; disclosed files are readable but not writable.
Summary
What happened
Information disclosure in affected Vite releases allows remote attackers to read arbitrary files from a reachable development server. The transform middleware handled raw import requests without calling ensureServingAccess, so ?import&raw routed an outside-root @fs path around server.fs.deny. Exploitation requires development-server reachability and, under the published assessment, user interaction; disclosed files are readable but not writable.
The record
- CVE
- CVE-2024-45811
- Published
- Sep 17, 2024
- Updated
- Sep 18, 2024
- Vendor
- Vite
- Product
- Vite
- Classifications
- CWE-284, CWE-200, T1190
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 17, 2024CVE publishedPublication date reported by the CVE source.
- Sep 18, 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=0 <3.2.11
- Affected versionversion=< 3.2.11
- Affected versionversion=>= 4.0.0, < 4.5.5
- Affected versionversion=4.0.0 <4.5.5
- Affected versionversion=>= 5.0.0, < 5.2.14
- Affected versionversion=5.0.0 <5.2.14
- Affected versionversion=>= 5.3.0, < 5.3.6
- Affected versionversion=5.3.0 <5.3.6
- Affected versionversion=>= 5.4.0, < 5.4.6
- Affected versionversion=5.4.0 <5.4.6
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.
Weakness, pattern, technique
Public exploit references
- Upstream ?import&raw file-disclosure 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