phpMyAdmin "dot dot" directory traversal

phpmyadmin-dotdot-directory-traversal (15021) The risk level is classified as MediumMedium Risk


phpMyAdmin could allow a remote attacker to traverse directories on the Web server. A remote attacker could send a specially-crafted HTTP request to the export.php script containing "dot dot" (/../) sequences in the ?what parameter to traverse directories and view arbitrary files outside of the Web root directory.


Obtain Information


Upgrade to the latest version of phpMyAdmin (2.5.6-rc1 or later), available from the phpMyAdmin Web site. See References.

For Gentoo Linux:
Upgrade to the latest phpMyAdmin package (2.5.6_rc1 or later), as listed in GLSA 200402-05. See References.

For other distributions:
Contact your vendor for upgrade or patch information.


  • BugTraq Mailing List, Tue Feb 03 2004 - 04:28:57 CST: Arbitrary File Disclosure Vulnerability in phpMyAdmin 2.5.5-pl1 and prior.
  • GLSA 200402-05: phpMyAdmin < 2.5.6-rc1 directory traversal attack. (From LinuxSecurity archive)
  • phpMyAdmin Web site: phpMyAdmin - Mysql DB administration tool.
  • BID-9564: phpMyAdmin Export.PHP File Disclosure Vulnerability
  • CVE-2004-0129: Directory traversal vulnerability in export.php in phpMyAdmin 2.5.5 and earlier allows remote attackers to read arbitrary files via .. (dot dot) sequences in the what parameter.
  • GLSA-200402-05: phpMyAdmin < 2.5.6-rc1: possible attack against export.php
  • OSVDB ID: 3800: phpMyAdmin export.php what Parameter Traversal Arbitrary File Access
  • SA10769: phpMyAdmin "export.php" Directory Traversal Vulnerability

Platforms Affected:

  • Gentoo Linux
  • phpMyAdmin phpMyAdmin 2.5.5-pl1 and prior


Feb 03, 2004

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page