Privilege Escalation and Command Execution in 7-Zip on Windows
CVE-2022-29072
Key Information:
Timeline
Exploit known 249 days after it was published
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
Badges
How risky is it?
- No: Needs local access
- Yes: Public exploit code (4 proof-of-concepts)
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory โ2Look for signs of compromise
Exploit code is public, so check logs on exposed 7-zip systems for unusual requests or new processes from before you patched. The 4 public proof-of-concepts show what an attack looks like.
3Why it's rated "Patch this week"
- Exploit code is public, so attacks are easy to copy.
- Its CVSS severity is high (7.8).
What is CVE-2022-29072?
7-Zip versions up to 21.07 on Windows are susceptible to a vulnerability that allows for privilege escalation and command execution. This issue arises when a file with the .7z extension is dragged to the Help>Contents area, triggered by a misconfiguration of the 7z.dll and a heap overflow. The resultant command executes within a child process under the 7zFM.exe process. Although it has been reported by multiple third parties that privilege escalation may not actually occur, the potential for command execution still poses a significant risk to users.
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
More 7-zip Vulnerabilities
Directory Traversal Vulnerability in 7-Zip by 7-Zip Team
Symbolic Link Handling Issue in 7-Zip Software by 7-Zip
Mark-of-the-Web Bypass Vulnerability in 7-Zip by 7-Zip
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction
