J-Security Center

Latest Attack Object Updates
  • IDP Daily Update #1601
    posted: 02/08/10
  • NSM Daily Update #1601
    posted: 02/08/10
  • Deep Inspection 5.3r5 and above, 5.4, 6.0 #1601
    posted: 02/08/10
  • Deep Inspection 5.1 and 5.2 #1435
    posted: 02/08/10
  • Deep Inspection 5.0, 5.3r4 and below #1132
    posted: 03/28/08 (04/01/08 for 5.0)
  • Antivirus
    posted: 02/07/10

Title: Bharat Mediratta Gallery Remote File Include Vulnerability

Severity: HIGH

Description:

Gallery is an open source web based photo album. It is written in PHP and is available for Linux and Unix variant as well as Microsoft Windows operating systems.

Gallery is prone to an issue which may allow remote attackers to include arbitrary files located on remote servers. This issue is present in the following PHP script files provided with Gallery:
errors/configmode.php
errors/needinit.php
errors/reconfigure.php
errors/unconfigured.php
captionator.php

An attacker may exploit this by supplying a path to a file, 'init.php', on a remote host as a value for the 'GALLERY_BASEDIR' parameter.

If the remote file is a PHP script, this may allow for execution of attacker-supplied PHP code with the privileges of the webserver. Successful exploitation may provide local access to the attacker.

Affected Products:

  • Bharat Mediratta Gallery 1.1.0
  • Bharat Mediratta Gallery 1.2.0
  • Bharat Mediratta Gallery 1.2.1
  • Bharat Mediratta Gallery 1.2.1p1
  • Bharat Mediratta Gallery 1.2.2
  • Bharat Mediratta Gallery 1.2.3
  • Bharat Mediratta Gallery 1.2.4
  • Bharat Mediratta Gallery 1.2.5
  • Bharat Mediratta Gallery 1.3.0
  • Debian Linux 3.0.0

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.