How to Buy
This script is Copyright (C) 2004-2015 Tenable Network Security, Inc.
The remote Gentoo host is missing one or more security-related
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.
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.
The workaround for the vulnerability is to replace init.php and
setup/init.php with the files in the following ZIP file:
See also :
All users are encouraged to upgrade their gallery installation:
# emerge sync
# emerge -p '>=www-apps/gallery-1.4.1_p1'
# emerge '>=www-apps/gallery-1.4.1_p1'
Risk factor :
Family: Gentoo Local Security Checks
Nessus Plugin ID: 14448 (gentoo_GLSA-200402-04.nasl)
Upgrade to Nessus Professional today!
Start your free Nessus Cloud trial now!
Begin Free Trial
The cookie settings on this website are set to 'allow all cookies' to give you the very best website experience. If you continue without changing these settings, you consent to this - but if you want, you can opt out of all cookies by clicking below.