4images index.php template file include

4images-template-file-include (24938) The risk level is classified as MediumMedium Risk

Description:

4images could allow a remote attacker to include malicious files. A remote attacker could send a specially-crafted URL request to the index.php script using template parameter to specify an .html file from the local or a remote system, which would allow the attacker to execute arbitrary code or view files on the vulnerable system.

Platforms Affected:

  • 4images Gallery, 4images 1.7.1 and prior

Remedy:

Upgrade to the latest version of 4images (1.7.2 or later), available from the 4images Web site. See References.

Consequences:

Gain Access

References:

  • 4images Web site, 4images - Image Gallery Management System at http://www.4homepages.de/.
  • Bugtraq Mailing List, Wed Mar 01 2006 - 12:31:47 CST , 4images <=1.7.1 remote code execution at http://archives.neohapsis.com/archives/bugtraq/2006-02/0571.html.
  • BID-16855: 4images Index.PHP Remote File Include Vulnerability
  • CVE-2006-0899: Directory traversal vulnerability in index.php in 4Images 1.7.1 and earlier allows remote attackers to read and include arbitrary files via .. (dot dot) sequences in the template parameter.
  • OSVDB ID: 23529: 4images index.php template Variable Traversal Arbitrary Local File Inclusion
  • SA19026: 4images "template" Parameter File Inclusion Vulnerability
  • VUPEN/ADV-2006-0754: 4images template Parameter Parameter Local File Inclusion Vulnerability

Reported:

Feb 27, 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 xforce@iss.net

Return to the main page