Socketmail index.php file include

socketmail-index-file-include (26693) The risk level is classified as MediumMedium Risk


Socketmail could allow a remote attacker to include malicious PHP files. A remote attacker could send a specially-crafted URL request to the index.php script using the 'site_path' parameter to specify a malicious PHP file from a remote system, which would allow the attacker to execute arbitrary code on the vulnerable system.


Gain Access


Upgrade to the latest version of Socketmail (2.2.7 or later), available from the SocketMail Web site. See References.


  • BugTraq Mailing List, Thu May 25 2006 - 04:04:05 CDT: [MajorSecurity #6]Socketmail <= 2.2.6 - Remote File Include Vulnerability.
  • SocketMail Web site: SocketMail :: PHP Webmail and beyond.
  • CVE-2006-2681: PHP remote file inclusion vulnerability in SocketMail Lite and Pro 2.2.6 and earlier, when register_globals and magic_quotes are enabled, allows remote attackers to execute arbitrary PHP code via a URL in the site_path parameter to (1) index.php and (2) inc-common.php.
  • OSVDB ID: 26083: SocketMail index.php site_path Parameter Remote File Inclusion
  • OSVDB ID: 26084: SocketMail inc-common.php site_path Parameter Remote File Inclusion
  • SA20273: SocketMail "site_path" Parameter File Inclusion Vulnerability
  • SECTRACK ID: 1016228: SocketMail Include File Bug in `site_path` Parameter Lets Remote Users Execute Arbitrary Code

Platforms Affected:

  • Socketmail Socketmail 2.2.6 and prior


May 25, 2006

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