www.TheCyberUnderground.com Vulnerability in formmail.pl (usually in /cgi-bin/formmail.pl) Advisory from Bugtraq ----------------------------- From the FormMail web site, "FormMail is a generic WWW form to e-mail gateway, which will parse the results of any form and send them to the specified user." A web server can use a remote site's FormMail script without authorization, using remote system resources or exploiting other vulnerabilities in the script. (e.g., BugTraq ID 2079) If you're not familliar with how the HTML post method works, heres a simple html page that you can use to exploit this bug. This page will email you a copy of /etc/passwd, but only if the computer is running sendmail or some other MTA. Otherwise, change the 'code' below to execute some other command (xterm -ut, echo 'blah' >> /etc/passwd, or whatever).
hack em!