Gallery index.php PHP file include

gallery-indexphp-file-include (13419) The risk level is classified as MediumMedium Risk

Description:

Gallery could allow a remote attacker to include malicious PHP files, caused by a vulnerability in the index.php script. A remote attacker could send a specially-crafted URL request to the index.php script using the ?GALLERY_BASEDIR variable that specifies a malicious PHP file from a remote or local system as a parameter, which would allow the attacker to execute code on the vulnerable Web server.

Platforms Affected:

  • Gallery, Gallery 1.4 in setup mode

Remedy:

No remedy available as of July 6, 2008.

Consequences:

Gain Access

References:

  • BugTraq Mailing List, Sat Oct 11 2003 - 11:13:00 CDT , Gallery 1.4 including file vulnerability at http://archives.neohapsis.com/archives/bugtraq/2003-10/0140.html.
  • Gallery Web site, Gallery :: your photos on your website at http://gallery.menalto.com/modules.php?op=modload&name=News&file=index.
  • BID-8814: Gallery index.php Remote File Include Vulnerability
  • CVE-2003-1227: PHP remote file include vulnerability in index.php for Gallery 1.4 and 1.4-pl1, when running on Windows or in Configuration mode on Unix, allows remote attackers to inject arbitrary PHP code via a URL in the GALLERY_BASEDIR parameter, a different vulnerability than CVE-2002-1412. NOTE: this issue might be exploitable only during installation, or if the administrator has not run a security script after installation.

Reported:

Oct 11, 2003

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