CVE-2018-20250 WinRAR Absolute Path Traversal

Exploited in the wild High 7.8 Published Updated

Attackers can exploit path traversal in WinRAR to extract files to arbitrary locations, potentially achieving code execution or privilege escalation.

Exploited in the wild
Since 15 Feb 2022
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2018-20250?

CVE-2018-20250 is a high-severity path traversal vulnerability in Check Point Software Technologies Ltd. WinRAR, published on 5 Feb 2019. 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

In WinRAR versions prior to and including 5.61, There is path traversal vulnerability when crafting the filename field of the ACE format (in UNACEV2.dll). When the filename field is manipulated with specific patterns, the destination (extraction) folder is ignored, thus treating the filename as an absolute path.

Weakness: CWE-22, CWE-36

Which versions are affected by CVE-2018-20250?

It affects 1 product.

Products include Rarlab Winrar.

How do I fix CVE-2018-20250?

No fix has been published for CVE-2018-20250 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 15 Aug 2022.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2018-20250 being exploited?

Yes. Attackers have exploited CVE-2018-20250 in the wild since at least 15 Feb 2022, including in ransomware campaigns.

Public exploit code: 1 Metasploit module, 3 Exploit-DB entries and 19 proofs of concept on GitHub.

Sources

Also known as GHSA-7v9q-j964-43qc.

Is CVE-2018-20250 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free