CVE-2018-20251
WinRAR ACE Format Path Traversal Vulnerability
Description
In WinRAR versions prior to and including 5.61, there is path traversal vulnerability when crafting the filename field of the ACE format. The UNACE module (UNACEV2.dll) creates files and folders as written in the filename field even when WinRAR validator noticed the traversal attempt and requestd to abort the extraction process. the operation is cancelled only after the folders and files were created but prior to them being written, therefore allowing the attacker to create empty files and folders everywhere in the file system.
INFO
Published Date :
Feb. 5, 2019, 8:29 p.m.
Last Modified :
Oct. 9, 2019, 11:39 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2018-20251 has a 8 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-20251
.
URL | Resource |
---|---|
http://www.securityfocus.com/bid/106948 | VDB Entry Third Party Advisory |
https://research.checkpoint.com/extracting-code-execution-from-winrar/ | Exploit Third Party Advisory |
https://www.win-rar.com/whatsnew.html | Release Notes Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
its fork winafl
CMake C PLpgSQL C++ JavaScript Rich Text Format Python
WinAFL modified for RDP client fuzzing
CMake C PLpgSQL C++ JavaScript Rich Text Format Python
None
CMake C HTML JavaScript CSS C++ Perl PLpgSQL Rich Text Format Python
None
CMake C PLpgSQL C++ JavaScript Rich Text Format Python
None
CMake C PLpgSQL C++ JavaScript Rich Text Format Python
winafl with mopt mutators and afl fast power schedulers.
CMake C PLpgSQL C++ JavaScript Rich Text Format Python
Script in PowerShell to detect vulnerable versions of WinRAR (related to ACE files) in a Windows domain.
PowerShell
A fork of AFL for fuzzing Windows binaries
fuzzing security afl
CMake C PLpgSQL C++ JavaScript Python Rich Text Format
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-20251
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-20251
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Oct. 09, 2019
Action Type Old Value New Value Added CWE Check Point Software Technologies Ltd. CWE-693 -
Modified Analysis by [email protected]
Mar. 21, 2019
Action Type Old Value New Value Changed Reference Type https://research.checkpoint.com/extracting-code-execution-from-winrar/ No Types Assigned https://research.checkpoint.com/extracting-code-execution-from-winrar/ Exploit, Third Party Advisory Changed Reference Type http://www.securityfocus.com/bid/106948 Third Party Advisory http://www.securityfocus.com/bid/106948 Third Party Advisory, VDB Entry -
CVE Modified by [email protected]
Mar. 14, 2019
Action Type Old Value New Value Changed Description A validation function (in WinRAR code) is being called before extraction of ACE archives. The validation function inspects the filename field for each compressed file in the ACE archive. In case the filename is disallow by the validator function (for example, the filename contains path traversal patterns) 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. It prevent the write operation to the extracted files only. In WinRAR versions prior to and including 5.61, there is path traversal vulnerability when crafting the filename field of the ACE format. The UNACE module (UNACEV2.dll) creates files and folders as written in the filename field even when WinRAR validator noticed the traversal attempt and requestd to abort the extraction process. the operation is cancelled only after the folders and files were created but prior to them being written, therefore allowing the attacker to create empty files and folders everywhere in the file system. Added Reference https://research.checkpoint.com/extracting-code-execution-from-winrar/ [No Types Assigned] -
Initial Analysis by [email protected]
Feb. 22, 2019
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 (AV:N/AC:M/Au:N/C:N/I:P/A:N) Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N Changed Reference Type http://www.securityfocus.com/bid/106948 No Types Assigned http://www.securityfocus.com/bid/106948 Third Party Advisory Changed Reference Type https://www.win-rar.com/whatsnew.html No Types Assigned https://www.win-rar.com/whatsnew.html Release Notes, Vendor Advisory Added CWE CWE-22 Added CPE Configuration OR *cpe:2.3:a:rarlab:winrar:*:*:*:*:*:*:*:* versions up to (including) 5.61 -
CVE Modified by [email protected]
Feb. 09, 2019
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/106948 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2018-20251
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2018-20251
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
71.27 }} -3.20%
score
0.98083
percentile