Description
The register_globals emulation layer in grab_globals.php for phpMyAdmin before 2.6.4-pl3 does not perform safety checks on values in the _FILES array for uploaded files, which allows remote attackers to include arbitrary files by using direct requests to library scripts that do not use grab_globals.php, then modifying certain configuration values for the theme.
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 ↗Advisories 1
- DSA-880-1 phpmyadmin - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- SUSE-SR:2005:028 vendor-advisory
- SUSE-SA:2005:066 vendor-advisory
- 17607 third-party-advisory
- 20051022 Advisory 16/2005: phpMyAdmin Local File Inclusion Vulnerability mailing-list
- 17559 third-party-advisory
- http://www.hardened-php.net/advisory_162005.73.html
- 20051022 Advisory 16/2005: phpMyAdmin Local File Inclusion Vulnerability mailing-list
- phpmyadmin-multiple-scripts-file-include(22835) vdb-entry
- DSA-880 vendor-advisory
- 17337 third-party-advisory
- 15169 vdb-entry
- GLSA-200510-21 vendor-advisory
- http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2005-5
- 17289 third-party-advisory
- 1015091 vdb-entry