{"id":"CVE-2020-10804","details":"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).","aliases":["BIT-phpmyadmin-2020-10804","GHSA-h65r-8fp8-w7cx"],"modified":"2026-07-07T08:50:16.814277661Z","published":"2020-03-22T04:15:11.297Z","related":["openSUSE-SU-2020:0405-1","openSUSE-SU-2020:0427-1","openSUSE-SU-2020:1806-1","openSUSE-SU-2024:11171-1"],"database_specific":{"unresolved_ranges":[{"source":"CPE_STRING","vendor_product":"fedoraproject:fedora","cpes":["cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"30"},{"last_affected":"30"},{"introduced":"31"},{"last_affected":"31"},{"introduced":"32"},{"last_affected":"32"}]},{"vendor_product":"opensuse:backports_sle","cpes":["cpe:2.3:a:opensuse:backports_sle:15.0:-:*:*:*:*:*:*","cpe:2.3:a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:*"],"extracted_events":[{"introduced":"15.0-NA"},{"last_affected":"15.0-NA"},{"introduced":"15.0-sp1"},{"last_affected":"15.0-sp1"}],"source":"CPE_STRING"},{"extracted_events":[{"introduced":"15.1"},{"last_affected":"15.1"}],"source":"CPE_STRING","vendor_product":"opensuse:leap","cpes":["cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"]}]},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJ/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BUG3IRITW2LUBGR5LSQMP7MVRTELHZJK/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZI6EQVRRIG252DY3MBT33BJVCSYDMQO/"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00046.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00050.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00005.html"},{"type":"ADVISORY","url":"https://www.phpmyadmin.net/security/PMASA-2020-2/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/phpmyadmin/phpmyadmin","events":[{"introduced":"6da64cc3b2ba4439574f914f51e161645375be96"},{"fixed":"1651d674d65bdd032071733f57cfff9b496e7d85"},{"introduced":"c124aacc32329f69f3e8189c61c5d82f6d9fcd47"},{"fixed":"4520c9d17291007bc2da9f71836ac8c72fc9a7e5"}],"database_specific":{"extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.9.5"},{"introduced":"5.0.0"},{"fixed":"5.0.2"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:*"}}],"versions":["RELEASE_5_0_1","RELEASE_5_0_0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-10804.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}