{"id":"GHSA-h65r-8fp8-w7cx","aliases":["BIT-phpmyadmin-2020-10804","CVE-2020-10804"],"title":"phpMyAdmin SQL Injection","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"HIGH","description":"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).","severity":"high","score":8,"published":"2022-05-24T17:12:08.000Z","modified":"2024-04-24T17:57:30.896Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"phpmyadmin/phpmyadmin","sources":[{"name":"OSV · GHSA-h65r-8fp8-w7cx","url":"https://osv.dev/vulnerability/GHSA-h65r-8fp8-w7cx"}],"ranges":[{"events":[{"introduced":"4.9.0"},{"fixed":"4.9.5"}],"type":"ECOSYSTEM"}],"versions":["4.9.0","4.9.0.1","4.9.1","4.9.2","4.9.3","4.9.4"],"fixed":["4.9.5"]},{"ecosystem":"Packagist","name":"phpmyadmin/phpmyadmin","sources":[{"name":"OSV · GHSA-h65r-8fp8-w7cx","url":"https://osv.dev/vulnerability/GHSA-h65r-8fp8-w7cx"}],"ranges":[{"events":[{"introduced":"5.0.0"},{"fixed":"5.0.2"}],"type":"ECOSYSTEM"}],"versions":["5.0.0","5.0.0.1","5.0.1"],"fixed":["5.0.2"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2020-10804","https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-10804.yaml","https://github.com/phpmyadmin/composer","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJ","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BUG3IRITW2LUBGR5LSQMP7MVRTELHZJK","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UZI6EQVRRIG252DY3MBT33BJVCSYDMQO","https://www.phpmyadmin.net/security/PMASA-2020-2","http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00046.html","http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00050.html","http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00005.html"],"sources":[{"name":"OSV","id":"GHSA-h65r-8fp8-w7cx","modified":"2024-04-24T17:57:30.896583Z","url":"https://osv.dev/vulnerability/GHSA-h65r-8fp8-w7cx"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T18:15:34.797Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}