LinuxSecurity.com
Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Welcome!
Sign up!
EnGarde Community
Login
Polls
What is the most important Linux security technology?
 
Advisories
Community
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
SELinux
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Securitydistro
Latest Newsletters
Linux Security Week: June 29th, 2009
Linux Advisory Watch: June 26th, 2009
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
Gentoo: phpMyAdmin Directory traversal vulernability Print E-mail
User Rating:      How can I rate this item?
Posted by LinuxSecurity.com Team   
Gentoo A vulnerability in phpMyAdmin which was not properly verifying user generated input could lead to a directory traversal attack.

Gentoo Linux Security Advisory                           GLSA 200402-05
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
~                                            http://security.gentoo.org
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

~  Severity: Normal
~     Title: phpMyAdmin < 2.5.6-rc1 directory traversal attack
~      Date: February 17, 2004
~      Bugs: #40268
~        ID: 200402-05

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A vulnerability in phpMyAdmin which was not properly verifying user
generated input could lead to a directory traversal attack.

Description
===========

A component of the phpMyAdmin software package (export.php) does not
properly verify input that is passed to it from a remote user. Since the
input is used to include other files, it is possible to launch a
directory traversal attack.

Impact
======

Sensitive information could be gleaned from the server if an
attacker uses a malformed URL such as 
http://phpmyadmin.example.com/export.php?what=../../../[existing_file]

In this scenario, the script does not sanitize the "what" argument
passed to it, allowing directory traversal attacks to take place, and
disclosing the contents of files if the file is readable as the
web-server user.

Workaround
==========

The workaround is to either patch the export.php file using the
referenced CVS patch [ 1 ] or upgrade the software via Portage.

Resolution
==========

Users are encouraged to upgrade to phpMyAdmin-2.5.6_rc1:

~    # emerge sync
~    # emerge -pv ">=dev-db/phpmyadmin-2.5.6_rc1"
~    # emerge ">=dev-db/phpmyadmin-2.5.6_rc1"
~    # emerge clean

References
==========

[ 1 ] CVS Patch export.php of phpMyAdmin:
 
http://cvs.sourceforge.net/viewcvs.py/phpmyadmin/phpMyAdmin/export.php?r1=2.3&r2=2.3.2.1

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at 
http://bugs.gentoo.org.

 
< Prev   Next >
    
Partner:

 

Latest Features
Review: Googling Security: How Much Does Google Know About You
A Secure Nagios Server
Never Installed a Firewall on Ubuntu? Try Firestarter
Review: Hacking Exposed Linux, Third Edition
Security Features of Firefox 3.0
Review: The Book of Wireless
April 2008 Open Source Tool of the Month: sudo
Yesterday's Edition

QuickLinks: Comunity , HOWTOs , Blogs , Features , Book Reviews , Networking ,
  Security Projects ,   Latest News ,  Newsletters ,  SELinux ,  Privacy ,  Home,
 Hardening ,   About Us,   Advertise,   Legal Notice,   RSS,   Guardian Digital
  Home Security Systems, Surveillance Cameras

(c)Copyright 2009 Guardian Digital, Inc. All rights reserved.