CVE-2020-22452 json
phpmyadmin contains SQL Injection vulnerability
published 3y ago modified 2mo ago also BIT-phpmyadmin-2020-22452 , EUVD-2023-0523 , GHSA-prcg-mc23-hgjh
- cvss
- 9.8
- version 3.1, CNA
- 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
SQL Injection vulnerability in function getTableCreationQuery in CreateAddField.php in phpMyAdmin 5.x before 5.2.0 via the tbl_storage_engine or tbl_collation parameters to tbl_create.php.
Patch / fix
- packagist phpmyadmin/phpmyadmin 5.0.2
- bitnami phpmyadmin 5.2.0
- phpmyadmin phpmyadmin 5.2.0
- phpmyadmin Debian 14, Debian 13, Debian 12 4:5.0.4+dfsg1-1
debian advisories DEBIAN-CVE-2020-22452
- github.com/phpmyadmin/phpmyadmin@bc98246 commit
- github.com/phpmyadmin/phpmyadmin#16004 pull request
- github.com/phpmyadmin/phpmyadmin/issues/15898 advisory
Is CVE-2020-22452 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 FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
1.76% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/phpmyadmin/phpmyadmin/issues/15898 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 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 |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 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 | >=5.0.0, <5.0.2 |
5.0.2 |
| bitnami | phpmyadmin | >=5.0.0, <5.2.0 |
5.2.0 |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/phpmyadmin/phpmyadmin/pull/16004
web, patch, third-party-advisory, advisory
-
github.com
/phpmyadmin/phpmyadmin/issues/15898
web, exploit, patch, third-party-advisory, advisory
-
github.com
/phpmyadmin/phpmyadmin/commit/bc982466f08ddccad4804ba928f84ff8e25107cb
web
-
github.com
/phpmyadmin/phpmyadmin/blob/master/ChangeLog
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-22452
advisory, web
-
github.com
/phpmyadmin/phpmyadmin
package
-
phpmyadmin.com
web
Sources
- CVE List CVE-2020-22452
- GitHub Advisory GHSA-prcg-mc23-hgjh
- NVD CVE-2020-22452
- OSV BIT-phpmyadmin-2020-22452
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.