Arbitrary file read via unsanitized asset paths
Published Oct 15, 2024 · Updated Oct 15, 2024
Path traversal in Vendure Asset Server Plugin before 2.3.3 and 3.0.0 through 3.0.4 allows remote attackers to read arbitrary files. AssetServerPlugin middleware decodes req.path and passes it to path.join without normalizing or stripping parent-directory segments. An unauthenticated request reaches this code when AssetServerPlugin uses LocalAssetStorageStrategy; malformed URI encoding in the same path can also crash the server.
Summary
What happened
Path traversal in Vendure Asset Server Plugin before 2.3.3 and 3.0.0 through 3.0.4 allows remote attackers to read arbitrary files. AssetServerPlugin middleware decodes req.path and passes it to path.join without normalizing or stripping parent-directory segments. An unauthenticated request reaches this code when AssetServerPlugin uses LocalAssetStorageStrategy; malformed URI encoding in the same path can also crash the server.
The record
- CVE
- CVE-2024-48914
- Published
- Oct 15, 2024
- Updated
- Oct 15, 2024
- Vendor
- Vendure
- Product
- Vendure
- Classifications
- CWE-20, CWE-22, T1005, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 15, 2024CVE publishedPublication date reported by the CVE source.
- Oct 15, 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 <2.3.3
- Affected versionversion=0 <=3.0.0
- Affected versionversion=0 <3.0.5
- Affected versionversion=< 2.3.3
- Affected versionversion=>= 3.0.0, < 3.0.5
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
- Malformed URI crash curl proof of conceptproof of concept · demonstrated
- Asset path traversal curl 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