RARLAB WinRAR Code Execution
CVE-2023-38831 is a high-severity insufficient verification of data authenticity vulnerability in winrar from Rarlab, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. The record lists version 6.23 as the first without the flaw, so updating winrar to that release or later removes the exposure. CISA added it to the Known Exploited Vulnerabilities catalogue on August 24, 2023, which means attacks have been observed in the wild, including in ransomware campaigns.
Attackers are already exploiting this vulnerability, according to CISA.
What to do
- Update winrar to 6.23 or a later version.
- CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.
Affected products and versions
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- RequiredA user must take an action such as opening a file or link.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.8 | High | NVD |
| CVSS 3.1 | 7.8 | High | CISA (ADP) |
Official description
RARLAB WinRAR before 6.23 allows attackers to execute arbitrary code when a user attempts to view a benign file within a ZIP archive. The issue occurs because a ZIP archive may include a benign file (such as an ordinary .JPG file) and also a folder that has the same name as the benign file, and the contents of the folder (which may include executable content) are processed during an attempt to access only the benign file. This was exploited in the wild in April through October 2023.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Insufficient Verification of Data Authenticity
The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.
More Insufficient Verification of Data Authenticity vulnerabilities (CWE-345)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: active, automatable: no, technical impact: total).
- Added to CISA's Known Exploited Vulnerabilities catalogue.
- Deadline for US federal agencies to remediate, set by CISA.
- Record last changed materially (score, affected products, status or references).
References
Third-party and government advisories
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-38831US Government Resource
Technical write-ups (may include proof of concept)
- packetstormsecurity.com/files/174573/WinRAR-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- blog.google/threat-analysis-group/government-backed-actors-exploiting-winrar-vulnerability/Exploit, Third Party Advisory
- bleepingcomputer.com/news/security/winrar-zero-day-exploited-since-april-to-hack-trading-accounts/Exploit, Press/Media Coverage, Third Party Advisory
- group-ib.com/blog/cve-2023-38831-winrar-zero-day/Exploit, Press/Media Coverage, Third Party Advisory
Other references
- news.ycombinator.com/item?id=37236100Issue Tracking
Other vulnerabilities in winrar
- 7.8 High severity
- 7.8 High severity
RARLAB WinRAR Path Traversal Exploited
- 7.8 High severity
- 7.1 High severity
- 7.1 High severity
Recent Insufficient Verification of Data Authenticity vulnerabilities
- 7.8 High severity
- 8.8 High severity
- 9.8 Critical severity
- 9.8 Critical severity
- 9.8 Critical severity
- 9.8 Critical severity
Spotted an error? Tell us.