CVE-2020-10804
HIGH 8.0CVSS 3.1phpMyAdmin SQL Injection
In phpMyAdmin 4.x before 4.9.5 and 5.x before 5.0.2, a SQL injection vulnerability was found in retrieval of the current username (in libraries/classes/Server/Privileges.php and libraries/classes/UserPassword.php). A malicious user with access to the server could create a crafted username, and then trick the victim into performing specific actions with that user account (such as editing its privileges).
- Published
- 22 Mar 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- BIT-phpmyadmin-2020-10804GHSA-h65r-8fp8-w7cx
- Sources
- NVDJSONOSV GHSA-h65r-8fp8-w7cxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | phpmyadmin | phpmyadmincpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.9.5 | 4.9.5 |
| NVD | phpmyadmin | phpmyadmincpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.0.2 | 5.0.2 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* |
= 30 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* |
= 31 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* |
= 32 | |
| NVD | opensuse | backports_slecpe:2.3:a:opensuse:backports_sle:15.0:-:*:*:*:*:*:* |
= 15.0 | |
| NVD | opensuse | backports_slecpe:2.3:a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:* |
= 15.0 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* |
= 15.1 | |
| NVD | suse | package_hubcpe:2.3:a:suse:package_hub:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Packagist | phpmyadmin/phpmyadmin | >= 4.9.0, < 4.9.5 | 4.9.5 |
| OSV | Packagist | phpmyadmin/phpmyadmin | >= 5.0.0, < 5.0.2 | 5.0.2 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00046.html · Mailing List, Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00050.html · Mailing List, Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00005.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BUG3IRITW2LUBGR5LSQMP7MVRTELHZJK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZI6EQVRRIG252DY3MBT33BJVCSYDMQO/
- https://www.phpmyadmin.net/security/PMASA-2020-2/ · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-10804 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-10804.yaml · WEB
- https://github.com/phpmyadmin/composer · PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BUG3IRITW2LUBGR5LSQMP7MVRTELHZJK · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UZI6EQVRRIG252DY3MBT33BJVCSYDMQO · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 22 Mar 2020)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 May 2022)