FormHandler.cgi script could expose all files

formhandler-cgi-absolute-path (3550) The risk level is classified as MediumMedium Risk

Description:

The FormHandler CGI script could allow attackers to read all files on the server that the CGI script has read access to, including the /etc/passwd file. An attacker could save the templates as files that reference absolute pathnames in the form document. Once an attacker clicks submit on the local form, the FormHandler CGI would email the /etc/passwd file to the specified email address.


Consequences:

Obtain Information

Remedy:

No remedy available as of July 9, 2011.

References:

  • BugTraq Mailing List, Fri, 12 Nov 1999 06:05:52 -0000: FormHandler.cgi.
  • BID-798: FormHandler.cgi Absolute Path Vulnerability
  • BID-799: FormHandler.cgi Reply Attachment Vulnerability
  • CVE-1999-1050: Directory traversal vulnerability in Matt Wright FormHandler.cgi script allows remote attackers to read arbitrary files via (1) a .. (dot dot) in the reply_message_attach attachment parameter, or (2) by specifying the filename as a template.

Platforms Affected:

  • Matt Wright FormHandler.cgi 1.0
  • Matt Wright FormHandler.cgi 2.0

Reported:

Nov 11, 1999

The information within this database may change without notice. 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. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page