Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Gentoo Local Security Checks >> [GLSA-200402-04] Gallery 1.4.1 and below remote exploit vulnerability


Vulnerability Assessment Details

[GLSA-200402-04] Gallery 1.4.1 and below remote exploit vulnerability

Vulnerability Assessment Summary
Gallery 1.4.1 and below remote exploit vulnerability

Detailed Explanation for this Vulnerability Assessment
The remote host is affected by the vulnerability described in GLSA-200402-04
(Gallery 1.4.1 and below remote exploit vulnerability)


Starting in the 1.3.1 release, Gallery includes code to simulate the behaviour
of the PHP 'register_globals' variable in environments where that setting
is disabled. It is simulated by extracting the values of the various
$HTTP_ global variables into the global namespace.

Impact

A crafted URL such as
http://example.com/gallery/init.php?HTTP_POST_VARS=xxx causes the
'register_globals' simulation code to overwrite the $HTTP_POST_VARS which,
when it is extracted, will deliver the given payload. If the
payload compromises $GALLERY_BASEDIR then the malicious user can perform a
PHP injection exploit and gain remote access to the webserver with PHP
user UID access rights.

Workaround

The workaround for the vulnerability is to replace init.php and
setup/init.php with the files in the following ZIP file:
http://prdownloads.sourceforge.net/gallery/patch_1.4.1-to-1.4.1-pl1.zip?download


Solution:
All users are encouraged to upgrade their gallery installation:
# emerge sync
# emerge -p ">=app-misc/gallery-1.4.1_p1"
# emerge ">=app-misc/gallery-1.4.1_p1"


Network Security Threat Level: Medium


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2005 Michel Arboi

Cables, Connectors

HP DL360 G7 64-bit VT Server 2x Hexa-Core 3.06GHz / 96GB / 4x 72GB 15K SAS RAID5
$699.0
HP DL360 G7 64-bit VT Server 2x Hexa-Core 3.06GHz / 96GB / 4x 72GB 15K SAS RAID5 picture2012 Mac Mini 960GB SSD RAID 0 16GB RAM 2.5GHZ i5 OSX El Capitan
$899.0
2012 Mac Mini 960GB SSD RAID 0 16GB RAM 2.5GHZ i5 OSX El Capitan pictureDell Precision Raid Controller (PERC) SAS6/iR PCIe x8 JW065 (no cables)
$15.0
Dell Precision Raid Controller (PERC) SAS6/iR PCIe x8 JW065 (no cables) pictureDell Precision Raid Controller (PERC) SAS6/iR PCIe x8 JW065 DATA & POWER CABLES
$27.0
Dell Precision Raid Controller (PERC) SAS6/iR PCIe x8 JW065 DATA & POWER CABLES picture


Discussions

No Discussions have been posted on this vulnerability.