Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200402-05 ] phpMyAdmin < 2.5.6-rc1: possible attack against export.php
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: Baltimore, MD

PostPosted: Tue Feb 17, 2004 6:19 pm    Post subject: [ GLSA 200402-05 ] phpMyAdmin < 2.5.6-rc1: possible attac Reply with quote

Gentoo Linux Security Advisory

Title: phpMyAdmin <2.5.6-rc1: possible attack against export.php (GLSA 200402-05)
Severity: normal
Exploitable: remote
Date: February 17, 2004
Bug(s): #40268
ID: 200402-05

Synopsis

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

Background

phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL databased over the Web.

Affected Packages

Package: dev-db/phpmyadmin
Vulnerable: <= 2.5.5_p1
Unaffected: >= 2.5.6_rc1
Architectures: All supported architectures


Description

One 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

Private information could be gleaned from the remote 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, 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 or upgrade the software via Portage.

Resolution

Users are encouraged to upgrade to phpMyAdmin-2.5.6_rc1:
Code:
# emerge sync
# emerge -pv ">=dev-db/phpmyadmin-2.5.6_rc1"
# emerge ">=dev-db/phpmyadmin-2.5.6_rc1"
# emerge clean


References

CVS Patch


Last edited by GLSA on Sun May 07, 2006 4:50 pm; edited 1 time 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