Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | phpmyadmin | 2:2.6.0-pl2 | — |
| Debian 13 | phpmyadmin | 2:2.6.0-pl2 | — |
| Debian 12 | phpmyadmin | 2:2.6.0-pl2 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- phpMyAdmin 2.x - 'Export.php' File Disclosure EDB-23640 · webapps · Feb 3, 2004 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://www.phpmyadmin.net/home_page/relnotes.php?rel=0
- phpmyadmin-dotdot-directory-traversal(15021) vdb-entry
- GLSA-200402-05 vendor-advisory
- 10769 third-party-advisory
- 3800 vdb-entry
- 20040203 Arbitrary File Disclosure Vulnerability in phpMyAdmin 2.5.5-pl1 and prior mailing-list
- 9564 vdb-entry
- http://sourceforge.net/forum/forum.php?forum_id=350228