Directory-structure disclosure via unchecked path segments
Published Sep 27, 2022 · Updated May 21, 2025
Directory traversal in EC-CUBE 3.0.0 through 3.0.18-p4 and 4.0.0 through 4.1.2 allows remote authenticated users to infer directory structure. The admin file, payment-image, and product-image handlers accept filenames containing '..', and response differences reveal whether resolved directories exist. Administrative privileges are required, and the bounded impact is disclosure of directory existence rather than file contents or modification.
Summary
What happened
Directory traversal in EC-CUBE 3.0.0 through 3.0.18-p4 and 4.0.0 through 4.1.2 allows remote authenticated users to infer directory structure. The admin file, payment-image, and product-image handlers accept filenames containing '..', and response differences reveal whether resolved directories exist. Administrative privileges are required, and the bounded impact is disclosure of directory existence rather than file contents or modification.
The record
- CVE
- CVE-2022-40199
- Published
- Sep 27, 2022
- Updated
- May 21, 2025
- Vendor
- EC-CUBE CO.,LTD.
- Product
- EC-CUBE
- Classifications
- CWE-22, T1083
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Sep 27, 2022CVE publishedPublication date reported by the CVE source.
- May 21, 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=EC-CUBE 3.0.0 to 3.0.18-p4 and EC-CUBE 4.0.0 to 4.1.2
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
No public exploit references are available in this record.
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