CVE-2020-26935 in the critical feed json
phpMyAdmin SQL injection vulnerability
published 6y ago modified 2mo ago also BIT-phpmyadmin-2020-26935 , EUVD-2022-2982 , GHSA-7ff4-cv53-4cjq
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 63.7%
- EPSS 63.7% chance of exploitation in 30 days, percentile 99.2%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- packagist phpmyadmin/phpmyadmin 4.9.6, 5.0.3
- bitnami phpmyadmin 4.9.6, 5.0.3
- phpmyadmin phpmyadmin 4.9.6, 5.0.3
- phpmyadmin Debian 14, Debian 13, Debian 12 4:4.9.7+dfsg1-1
debian advisories DEBIAN-CVE-2020-26935
- phpmyadmin Ubuntu 18.04 LTS 4:4.6.6-5ubuntu0.5
- phpmyadmin Ubuntu Pro 20.04 LTS 4:4.9.5+dfsg1-2ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2020-26935
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 SP2, Package Hub 15 SP1, Package Hub 12 +2 more 4.9.6-bp152.2.3.1
opensuse advisories openSUSE-SU-2024:11171-1openSUSE-SU-2020:1806-1openSUSE-SU-2020:1675-1
Is CVE-2020-26935 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 FencerVendor 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-26935 updated cvss 8.1
phpmyadmin: SQL injection vulnerability in SearchController
-
Red Hat All currently supported Red Hat productsnot 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
63.70% chance of exploitation in the next 30 days, higher than 99.2% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Nuclei template phpMyAdmin < 5.0.3 - SQL Injection nuclei detection template
- advisory.checkmarx.net https://advisory.checkmarx.net/advisory/CX-2020-4281 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | phpmyadmin/phpmyadmin | >=4.9.0, <4.9.6 >=5.0.0, <5.0.3 |
4.9.6 5.0.3 |
| bitnami | phpmyadmin | >=4.9.0, <4.9.6 >=5.0.0, <5.0.3 |
4.9.6 5.0.3 |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
phpmyadmin.net
/security/PMASA-2020-6/
patch, vendor-advisory, advisory
-
advisory.checkmarx.net
/advisory/CX-2020-4281
web, exploit, third-party-advisory, advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-10/msg00027.html
vendor-advisory, web, mailing-list, third-party-advisory, advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/TNLGHVDNAEZEGRTUESSSQFM7MZTHIDQ5/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/PXK37YEHSDYCIPQSYEMN2OFTP2ZLM7DO/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/FHST4E5IJG7IKZTTW3R6MEZPVHJZ472K/
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2020-11/msg00005.html
vendor-advisory, web, mailing-list, third-party-advisory, advisory
-
security.gentoo.org
/glsa/202101-35
vendor-advisory, web, third-party-advisory, advisory
-
lists.debian.org
/debian-lts-announce/2020/10/msg00024.html
mailing-list, web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-26935
advisory, web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-26935.yaml
web
-
github.com
/phpmyadmin/composer
package
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/FHST4E5IJG7IKZTTW3R6MEZPVHJZ472K
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/PXK37YEHSDYCIPQSYEMN2OFTP2ZLM7DO
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/TNLGHVDNAEZEGRTUESSSQFM7MZTHIDQ5
web
-
phpmyadmin.net
/security/PMASA-2020-6
web
Sources
- CVE List CVE-2020-26935
- GitHub Advisory GHSA-7ff4-cv53-4cjq
- NVD CVE-2020-26935
- OSV BIT-phpmyadmin-2020-26935
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.