GLSA-200402-05 : phpMyAdmin < 2.5.6-rc1: possible attack against export.php

medium Nessus Plugin ID 14449

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200402-05 (phpMyAdmin < 2.5.6-rc1: possible attack against export.php)

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.

Solution

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

See Also

http://www.nessus.org/u?11720f86

https://security.gentoo.org/glsa/200402-05

Plugin Details

Severity: Medium

ID: 14449

File Name: gentoo_GLSA-200402-05.nasl

Version: 1.15

Type: local

Published: 8/30/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:phpmyadmin, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2/17/2004

Reference Information

GLSA: 200402-05