cve.bz

CVE-2020-10802 SQL Injection

8.0 highEPSS 1.8%Fix available

High (8.0). EPSS 1.8% estimated probability of exploitation activity in the next 30 days. Fixed in phpmyadmin/phpmyadmin 4.9.5, 5.0.2.

On this page
In phpMyAdmin 4.x before 4.9.5 and 5.x before 5.0.2, a SQL injection vulnerability has been discovered where certain parameters are not properly escaped when generating certain queries for search actions in libraries/classes/Controllers/Table/TableSearchController.php. An attacker can generate a crafted database or table name. The attack can be performed if a user attempts certain search operations on the malicious database or table.

Severity

CVSS 3.1

8.0 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-10802 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-10802?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-10802?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-10802 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
phpmyadmin:phpmyadminfrom 4.0.0 before 4.9.5
phpmyadmin:phpmyadminfrom 5.0.0 before 5.0.2
debian:debian_linux8.0
fedoraproject:fedora30
fedoraproject:fedora31
fedoraproject:fedora32
opensuse:backports_sle15.0
opensuse:backports_sle15.0:sp1
opensuse:leap15.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f4cr-3xmc-2wpmPackagistphpmyadmin/phpmyadmin>=4.9.0 <4.9.54.9.5
GHSA-f4cr-3xmc-2wpmPackagistphpmyadmin/phpmyadmin>=5.0.0 <5.0.25.0.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8phpmyadmin4:4.2.12-2+deb8u9DLA-2154-1
Debian12, 13, 14phpmyadmin4:4.9.5+dfsg1-1DEBIAN-CVE-2020-10802
Ubuntu18.04:LTSphpmyadmin4:4.6.6-5ubuntu0.5UBUNTU-CVE-2020-10802 USN-4639-1
UbuntuPro:14.04:LTS, Pro:16.04:LTSphpmyadminno fix listedUBUNTU-CVE-2020-10802
SUSEPackage Hub 12phpMyAdmin4.9.5-43.1openSUSE-SU-2020:0405-1
SUSEPackage Hub 12, Package Hub 15, Package Hub 15 SP1phpMyAdmin4.9.7-bp151.3.24.1openSUSE-SU-2020:1806-1
SUSEPackage Hub 15 SP1phpMyAdmin4.9.5-bp151.3.15.1openSUSE-SU-2020:0427-1
openSUSELeap 15.1phpMyAdmin4.9.5-43.1openSUSE-SU-2020:0405-1
openSUSELeap 15.1phpMyAdmin4.9.7-bp151.3.24.1openSUSE-SU-2020:1806-1
openSUSETumbleweedphpMyAdmin5.1.1-1.2openSUSE-SU-2024:11171-1
Alpinev3.11phpmyadmin4.9.5-r0ALPINE-CVE-2020-10802
Alpinev3.12, v3.13, v3.14 and 10 morephpmyadmin5.0.2-r0ALPINE-CVE-2020-10802

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON