Description
Cross-site request forgery (CSRF) vulnerability in phpMyAdmin 2.11.x before 2.11.9.4 and 3.x before 3.1.1.0 allows remote attackers to perform unauthorized actions as the administrator via a link or IMG tag to tbl_structure.php with a modified table parameter. NOTE: other unspecified pages are also reachable, but they have the same root cause. NOTE: this can be leveraged to conduct SQL injection attacks and execute arbitrary code.
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 | 4:2.11.8.1-5 | — |
| Debian 13 | phpmyadmin | 4:2.11.8.1-5 | — |
| Debian 12 | phpmyadmin | 4:2.11.8.1-5 | — |
| Debian 4.0 | phpmyadmin | 4:2.9.1.1-10 | DSA-1723-1 |
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 3.1.0 - Cross-Site Request Forgery / SQL Injection EDB-7382 · webapps · Dec 8, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-1723-1 phpmyadmin - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
References
- SUSE-SR:2009:003 vendor-advisory
- ADV-2008-3501 vdb-entry
- GLSA-200903-32 vendor-advisory
- DSA-1723 vendor-advisory
- phpmyadmin-tblstructure-csrf(47168) vdb-entry
- 4753 third-party-advisory
- ADV-2008-3402 vdb-entry
- 50894 vdb-entry
- FEDORA-2008-11221 vendor-advisory
- 33146 third-party-advisory
- http://www.phpmyadmin.net/home_page/security/PMASA-2008-10.php
- 33822 third-party-advisory
- 33246 third-party-advisory
- [oss-security] 20090212 CVE-2008-5621 is a duplicate (was: Re: CVE request: phpMyAdmin < 3.1.1.0 (SQL injection through XSRF on several pages )) mailing-list
- 32720 vdb-entry
- 33912 third-party-advisory
- 7382 exploit
- 33076 third-party-advisory
- http://typo3.org/teams/security/security-bulletins/typo3-20081222-1/