Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2018-10188 EUVD-2022-5295GHSA-v6fp-h79x-9rqc

phpMyAdmin CSRF vulnerability allowing arbitrary SQL execution

Published Apr 19, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
SUSE Package Hub 12 phpMyAdmin 4.8.0.1-20.1 openSUSE-SU-2018:1059-1, openSUSE-SU-2018:1058-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed phpMyAdmin 5.1.1-1.2 openSUSE-SU-2024:11171-1
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phpmyadmin/phpmyadmin >= 4.8, < 4.8.0.1 4.8.0.1 GHSA-v6fp-h79x-9rqc

Advisories 3

References