ID:2717 - Exploit for Privilege escalation in WinRAR - CVE-2018-20251

 
Main Vulnerability Database Exploits ID:2717 - Exploit for Privilege escalation in WinRAR - CVE-2018-20251

ID:2717 - Exploit for Privilege escalation in WinRAR - CVE-2018-20251

Published: May 18, 2020


Vulnerability identifier: #VU17469
Vulnerability risk: Low
CVE-ID: CVE-2018-20251
CWE-ID: CWE-264
Exploitation vector: Local access
Vulnerable software:
WinRAR

Link to public exploit:


Vulnerability description

The vulnerability allows a local attacker to gain elevated privileges.

The vulnerability exists due to a validation function (in WinRAR code) that inspects the filename field for each compressed file in the ACE archive is being called before extraction of ACE archives. The extraction operation should be aborted and no file or folder should be extracted. However, the check of the return value from the validator function made too late (in UNACEV2.dll), after the creation of files and folders. A local attacker can disallow the filename by the validator function (for example, the filename contains path traversal patterns) and gain elevated privileges.


Remediation

Update to version 5.70 Beta 1.