Skip to content
OpenAdvisories
Critical · 9.8 Scanner template CVE-2020-26935 BIT-phpmyadmin-2020-26935EUVD-2022-2982GHSA-7ff4-cv53-4cjq

phpMyAdmin SQL injection vulnerability

Published Oct 10, 2020 · Updated Aug 4, 2024 · Assigned by mitre

Description

An issue was discovered in SearchController in phpMyAdmin before 4.9.6 and 5.x before 5.0.3. A SQL injection vulnerability was discovered in how phpMyAdmin processes SQL statements in the search feature. An attacker could use this flaw to inject malicious SQL in to a query.

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.7+dfsg1-1 —
Debian 13 phpmyadmin 4:4.9.7+dfsg1-1 —
Debian 12 phpmyadmin 4:4.9.7+dfsg1-1 —
Debian 9 phpmyadmin 4:4.6.6-4+deb9u2 DLA-2413-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS phpmyadmin 4:4.6.6-5ubuntu0.5 USN-4639-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS phpmyadmin 4:4.9.5+dfsg1-2ubuntu0.1~esm1 USN-4843-1
Ubuntu Pro 18.04 LTS phpmyadmin 4:4.6.6-5ubuntu0.5+esm1 USN-4843-1
Ubuntu Pro 16.04 LTS phpmyadmin 4:4.5.4.1-2ubuntu2.1+esm6 USN-4843-1
Ubuntu Pro 14.04 LTS phpmyadmin 4:4.0.10-1ubuntu0.1+esm4 USN-4843-1
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP2 phpMyAdmin 4.9.6-bp152.2.3.1 openSUSE-SU-2020:1675-1
SUSE Package Hub 15 SP1 phpMyAdmin 4.9.6-bp152.2.3.1 openSUSE-SU-2020:1806-1, openSUSE-SU-2020:1675-1
SUSE Package Hub 15 phpMyAdmin 4.9.7-bp151.3.24.1 openSUSE-SU-2020:1806-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Package Hub 12 phpMyAdmin 4.9.6-bp152.2.3.1 openSUSE-SU-2020:1806-1, openSUSE-SU-2020:1675-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed phpMyAdmin 5.1.1-1.2 openSUSE-SU-2024:11171-1
openSUSE Leap 15.2 phpMyAdmin 4.9.6-bp152.2.3.1 openSUSE-SU-2020:1675-1
openSUSE Leap 15.1 phpMyAdmin 4.9.6-bp152.2.3.1 openSUSE-SU-2020:1806-1, openSUSE-SU-2020:1675-1

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phpmyadmin/phpmyadmin >= 4.9.0, < 4.9.6 4.9.6 GHSA-7ff4-cv53-4cjq
Packagist phpmyadmin/phpmyadmin >= 5.0.0, < 5.0.3 5.0.3 GHSA-7ff4-cv53-4cjq

Advisories 6

References