Jack`s FormMail.php PHP file upload

jack-formmail-file-upload (15079) The risk level is classified as MediumMedium Risk


Jack's FormMail.php could allow a remote attacker to upload files, if the program is vulnerable to cross-site scripting. By sending a specially-crafted HTTP request, a remote attacker could bypass the HTTP Referer check and upload a malicious PHP file to the vulnerable system.


Gain Access


No remedy available as of September 1, 2014.


  • BugTraq Mailing List, Fri Feb 06 2004 - 05:36:52 CST: formmail (PHP) Upload file using CSS.
  • FormMail.php Web site: Jack's Scripts.
  • BID-9591: Joe Lumbroso Jack's Formmail.php Unauthorized Remote File Upload Vulnerability
  • CVE-2004-0259: The check_referer() function in Formmail.php 5.0 and earlier allows remote attackers to bypass access restrictions via an empty or spoofed HTTP Referer, as demonstrated using an application on the same web server that contains a cross-site scripting (XSS) issue.
  • OSVDB ID: 3876: Jack's formmail.php Malformed HTTP Referer Arbitrary File Upload

Platforms Affected:

  • Lumbroso Jack's FormMail.php


Feb 06, 2004

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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page