CVE-2022-29072: 7-Zip - Command Injection & Privilege Escalation
- Cve: CVE-2022-29072
- Name: 7-Zip - Command Injection & Privilege Escalation
- Description: 7-Zip through 21.07 on Windows allows privilege escalation and command execution when a file with the .7z extension is dragged to the Help>Contents area. This is caused by misconfiguration of 7z.dll and a heap overflow. The command runs in a child process under the 7zFM.exe process. NOTE: multiple third parties have reported that no privilege escalation can occur
- Impact: Attackers can execute arbitrary commands with elevated privileges, potentially leading to system compromise.
- Remediation: Update to the latest version of 7-Zip, which addresses this issue.
- Vulnerability type: command_injection
- Vulnerability impact: privilege_escalation, remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs user to drag a malicious .7z file to Help>Contents
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01523
- Epss percentile: 0.75296
- Assignee: [email protected]
- Published at: 2022-04-15T20:15:12Z
- Age in days: 1684
- Modified at: 2026-06-17T04:39:32Z
- Public exploits total: 7
- References total: 4
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-29072
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/kagancapar/CVE-2022-29072 | nvd | 2022-04-15 |
| https://sourceforge.net/p/sevenzip/bugs/2337/ | nvd | 2022-04-15 |
| https://www.youtube.com/watch?v=sT1cvbu7ZTA | nvd | 2022-04-15 |
| https://github.com/rasan2001/CVE-2022-29072 | poc-in-github | 2024-05-10 |
| https://github.com/Phantomiman/7-Zip.chm-Mitigation | poc-in-github | 2022-12-20 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/kagancapar/CVE-2022-29072 | Exploit, Third Party Advisory |
| https://sourceforge.net/p/sevenzip/bugs/2337/ | Exploit, Issue Tracking, Third Party Advisory |
| https://www.youtube.com/watch?v=sT1cvbu7ZTA | Exploit, Third Party Advisory |
| https://news.ycombinator.com/item?id=31070256 | Issue Tracking, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| 7-zip:7-zip | <= 21.07 | yes | nvd | /v1/products/7-zip/7-zip |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 7
- Public exploit first date: 2022-04-15
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts