LinPHA map.main.class.php file include

linpha-mapmainclass-file-include (41676) The risk level is classified as MediumMedium Risk

Description:

LinPHA could allow a remote attacker to include arbitrary files. A remote attacker could send a specially-crafted URL request to the map.main.class.php script using the maps_type parameter to specify a malicious file from the local system, which could allow the attacker to obtain sensitive information or execute arbitrary code on the vulnerable Web server.

Note: In order to exploit this vulnerability to execute arbitrary code, the attacker would first be required to upload a malicious file or inject arbitrary commands into an existing file.

Platforms Affected:

  • Fernando Quintero, LinPHA 1.3.2 and prior

Remedy:

No remedy available as of April 2008.

Consequences:

Gain Access

References:

  • SourceForge.net, LinPHA PHP Photo Gallery at http://sourceforge.net/projects/linpha/.
  • BID-28654: LinPHA Maps Plugin 'db_handler.php' Local File Include Vulnerability
  • CVE-2008-1856: plugins/maps/db_handler.php in LinPHA 1.3.3 and earlier does not require authentication for a settings action that modifies the configuration file, which allows remote attackers to conduct directory traversal attacks and execute arbitrary local files by placing directory traversal sequences into the maps_type configuration setting, and then sending a request to maps_view.php, which causes plugins/maps/map.main.class.php to use the modified configuration.
  • FrSIRT/ADV-2008-1136: LinPHA maps_type Parameter Local File Inclusion Vulnerability
  • SA29724: LinPHA "maps_type" Local File Inclusion Vulnerability

Reported:

Apr 07, 2008

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 (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.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page