Privilege escalation in WinRAR - CVE-2018-20250
Published: February 11, 2019 / Updated: November 20, 2020
Vulnerability details
The vulnerability allows a local attacker to gain elevated privileges.
The vulnerability exists due to a logical bug. A local attacker can craft the filename field of the ACE format, cause the destination folder (extraction folder) to be ignored, and the relative path in the filename field to become an absolute Path, extract a file to an arbitrary location and execute arbitrary code with elevated privileges.
Affected software
How to mitigate CVE-2018-20250
Links to Public Exploits and PoC-codes
- Exploit #2985 - CVE-2018-20250-WinRAR (June 3, 2020)
- Exploit #2716 - CPR-Zero: CVE-2018-20250 (May 18, 2020)
- Exploit #1981 - CVE-2018-20250-WinRAR-ACE (March 18, 2020)
- Exploit #1983 - ezwinrar (Python tool exploiting CVE-2018-20250 found by CheckPoint folks) (March 18, 2020)
- Exploit #2004 - WinRar_ACE_exploit_CVE-2018-20250 (This program is an script developed in Python which exploit the ACE vulnerability on WinRar - Vulnerability CVE-2018-20250) (March 18, 2020)
- Exploit #2016 - CVE-2018-20250-WINRAR-ACE-GUI (March 18, 2020)
- Exploit #1528 - RARLAB WinRAR ACE Format Input Validation Remote Code Execution (March 18, 2020)