Skip to content
Fencer Intel
high 8.0

CVE-2020-10802 json

phpMyAdmin SQL injection vulnerability

published 6y ago modified 2mo ago also BIT-phpmyadmin-2020-10802 , EUVD-2022-3684 , GHSA-f4cr-3xmc-2wpm

cvss
8.0
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.8%
EPSS 1.8% chance of exploitation in 30 days, percentile 78%
public exploits
0
none known

Summary

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.

Patch / fix

  • packagist phpmyadmin/phpmyadmin 4.9.5, 5.0.2
  • bitnami phpmyadmin 4.9.5, 5.0.2
  • phpmyadmin phpmyadmin 4.9.5, 5.0.2
  • phpmyadmin Debian 14, Debian 13, Debian 12 4:4.9.5+dfsg1-1

debian advisories DEBIAN-CVE-2020-10802

  • phpmyadmin Ubuntu 18.04 LTS 4:4.6.6-5ubuntu0.5

ubuntu advisories UBUNTU-CVE-2020-10802

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • phpMyAdmin openSUSE Tumbleweed 5.1.1-1.2
  • phpMyAdmin Package Hub 15 SP1, Package Hub 15, Package Hub 12 +1 more 4.9.7-bp151.3.24.1
  • phpMyAdmin Package Hub 15 SP1 4.9.5-bp151.3.15.1
  • phpMyAdmin Package Hub 12, openSUSE Leap 15.1 4.9.5-43.1

opensuse advisories openSUSE-SU-2024:11171-1openSUSE-SU-2020:1806-1openSUSE-SU-2020:0427-1openSUSE-SU-2020:0405-1

  • phpmyadmin Alpine 3.11 4.9.5-r0
  • phpmyadmin Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 5.0.2-r0

alpine advisories ALPINE-CVE-2020-10802

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2020-10802 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-10802 updated cvss 3.7

phpMyAdmin: SQL injection was found in generating certain queries for search actions which could result in malicious D M

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.82% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
GitHub 3.1 8.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD 3.1 8.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.0 AV:N/AC:M/Au:S/C:P/I:P/A:P
OSV 3.1 8.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
packagist phpmyadmin/phpmyadmin
>=4.9.0, <4.9.5
>=5.0.0, <5.0.2
4.9.5
5.0.2
bitnami phpmyadmin
>=4.0.0, <4.9.5
>=5.0.0, <5.0.2
4.9.5
5.0.2

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.