CVE-2018-12036 Path Traversal in OWASP Dependency-Check
Attackers can write to arbitrary files via crafted archives in OWASP Dependency-Check, potentially compromising the system.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-12036?
CVE-2018-12036 is a high-severity path traversal vulnerability in n/a, published on 7 Jun 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
OWASP Dependency-Check before 3.2.0 allows attackers to write to arbitrary files via a crafted archive that holds directory traversal filenames.
Which versions are affected by CVE-2018-12036?
2 open source packages ship an affected version, including org.owasp:dependency-check-maven. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.owasp:dependency-check-maven Maven | All versions | 3.2.0 |
org.owasp:dependency-check-maven Maven | All versions | 3.2.0 |
Products include Owasp Dependency-Check.
How do I fix CVE-2018-12036?
Upgrade org.owasp:dependency-check-maven to 3.2.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-12036 being exploited?
There is no known exploitation of CVE-2018-12036 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-hcwx-7q5v-vc67.