Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200402-04 ] Gallery 1.4.1 and below remote exploit vulnerability
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Raleigh, NC

PostPosted: Wed Feb 11, 2004 10:59 pm    Post subject: [ GLSA 200402-04 ] Gallery 1.4.1 and below remote exploit vu Reply with quote

Gentoo Linux Security Advisory

Title: Gallery 1.4.1 and below remote exploit vulnerability (GLSA 200402-04)
Severity: normal
Exploitable: remote
Date: February 11, 2004
Bug(s): #39638
ID: 200402-04

Synopsis


The Gallery developers have discovered a potentially serious security flaw
in Gallery 1.3.1, 1.3.2, 1.3.3, 1.4 and 1.4.1 which can allow a
remote exploit of your webserver.


Background


Gallery is an open source image management system written in PHP.
More information is available at http://gallery.sourceforge.net


Affected Packages

Package: www-apps/gallery
Vulnerable: < 1.4.1_p1
Unaffected: >= 1.4.1_p1
Architectures: All supported architectures


Description


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


Resolution


All users are encouraged to upgrade their gallery installation:
Code:
# emerge sync
    # emerge -p ">=www-apps/gallery-1.4.1_p1"
    # emerge ">=www-apps/gallery-1.4.1_p1"


Last edited by GLSA on Sun Apr 27, 2014 4:16 am; edited 5 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum