CVE-2017-12938 Path traversal in n/a
Attackers can bypass directory-traversal protections in UnRAR using symlinks, potentially accessing restricted directories.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-12938?
CVE-2017-12938 is a high-severity path traversal vulnerability in n/a, published on 18 Aug 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
UnRAR before 5.5.7 allows remote attackers to bypass a directory-traversal protection mechanism via vectors involving a symlink to the . directory, a symlink to the .. directory, and a regular file.
Weakness: CWE-22
Which versions are affected by CVE-2017-12938?
It affects 1 product.
Products include Rarlab Unrar.
How do I fix CVE-2017-12938?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2017-12938 being exploited?
There is no known exploitation of CVE-2017-12938 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2017-12938, GHSA-hc8j-qhm9-c5f4, UBUNTU-CVE-2017-12938.