Description
phpMyAdmin 4.8.0 before 4.8.0-1 has CSRF, allowing an attacker to execute arbitrary SQL statements, related to js/db_operations.js, js/tbl_operations.js, libraries/classes/Operations.php, and sql.php.
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:4.9.1+dfsg1-2 | — |
| Debian 13 | phpmyadmin | 4:4.9.1+dfsg1-2 | — |
| Debian 12 | phpmyadmin | 4:4.9.1+dfsg1-2 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 12 | phpMyAdmin | 4.8.0.1-20.1 | openSUSE-SU-2018:1059-1, openSUSE-SU-2018:1058-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | phpMyAdmin | 5.1.1-1.2 | openSUSE-SU-2024:11171-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | phpmyadmin | 4.8.0-r1 | — |
| Alpine v3.23 | phpmyadmin | 4.8.0-r1 | — |
| Alpine v3.22 | phpmyadmin | 4.8.0-r1 | — |
| Alpine v3.21 | phpmyadmin | 4.8.0-r1 | — |
| Alpine v3.20 | phpmyadmin | 4.8.0-r1 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | phpmyadmin | 4.8.0-r1 | — |
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 4.8.0 < 4.8.0-1 - Cross-Site Request Forgery EDB-44496 · webapps · Apr 23, 2018
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | phpmyadmin/phpmyadmin | >= 4.8, < 4.8.0.1 | 4.8.0.1 | GHSA-v6fp-h79x-9rqc |
Advisories 3
- openSUSE-SU-2018:1058-1 Security update for phpMyAdmin SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2018:1059-1 Security update for phpMyAdmin SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11171-1 phpMyAdmin-5.1.1-1.2 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- 103936 vdb-entry
- 1040752 vdb-entry
- https://www.phpmyadmin.net/security/PMASA-2018-2/
- 44496 exploit