Remote code execution in 7-Zip



Published: 2022-04-19 | Updated: 2022-04-19
Risk Medium
Patch available NO
Number of vulnerabilities 1
CVE-ID CVE-2022-29072
CWE-ID CWE-122
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
7-Zip
Client/Desktop applications / Software for archiving

Vendor 7-zip.org

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU62367

Risk: Medium

CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C]

CVE-ID: CVE-2022-29072

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when a file with .7z extension is dragged to the Help>Contents area. A remote attacker can trick the victim to download and drag a specially crafted file, trigger a heap-based buffer overflow and execute arbitrary code on the target system under the  7zFM.exe process.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

7-Zip: 2.00 - 21.07

External links

http://sourceforge.net/p/sevenzip/bugs/2337/
http://www.youtube.com/watch?v=sT1cvbu7ZTA
http://github.com/kagancapar/CVE-2022-29072
http://news.ycombinator.com/item?id=31070256


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to trick the victim to open a a specially crafted archive.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###