{"id":"UBUNTU-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).","modified":"2026-01-30T02:20:53.671343Z","published":"2020-03-22T04:15:00Z","related":["USN-4639-1"],"upstream":["CVE-2020-10804"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-10804"},{"type":"REPORT","url":"https://www.phpmyadmin.net/security/PMASA-2020-2/"},{"type":"REPORT","url":"https://github.com/phpmyadmin/phpmyadmin/commit/89fbcd7c39e6b3979cdb2f64aa4cd5f4db27eaad"},{"type":"REPORT","url":"https://github.com/phpmyadmin/phpmyadmin/commit/3258978c38bee8cb4b99f249dffac9c8aaea2d80"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4639-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-10804"}],"affected":[{"package":{"name":"phpmyadmin","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/phpmyadmin@4:4.0.10-1ubuntu0.1+esm4?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4:4.0.6-1","4:4.0.8-1","4:4.0.9-1","4:4.0.10-1","4:4.0.10-1ubuntu0.1","4:4.0.10-1ubuntu0.1+esm1","4:4.0.10-1ubuntu0.1+esm2","4:4.0.10-1ubuntu0.1+esm3","4:4.0.10-1ubuntu0.1+esm4"],"ecosystem_specific":{"binaries":[{"binary_version":"4:4.0.10-1ubuntu0.1+esm4","binary_name":"phpmyadmin"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-10804.json"}},{"package":{"name":"phpmyadmin","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/phpmyadmin@4:4.5.4.1-2ubuntu2.1+esm6?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4:4.4.13.1-1","4:4.5.0.2-2","4:4.5.1-1","4:4.5.1-2","4:4.5.1-3","4:4.5.2-1","4:4.5.2-2","4:4.5.3.1-1","4:4.5.4-1","4:4.5.4.1-2","4:4.5.4.1-2ubuntu1","4:4.5.4.1-2ubuntu2","4:4.5.4.1-2ubuntu2.1","4:4.5.4.1-2ubuntu2.1+esm2","4:4.5.4.1-2ubuntu2.1+esm3","4:4.5.4.1-2ubuntu2.1+esm4","4:4.5.4.1-2ubuntu2.1+esm5","4:4.5.4.1-2ubuntu2.1+esm6"],"ecosystem_specific":{"binaries":[{"binary_version":"4:4.5.4.1-2ubuntu2.1+esm6","binary_name":"phpmyadmin"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-10804.json"}},{"package":{"name":"phpmyadmin","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/phpmyadmin@4:4.6.6-5ubuntu0.5?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4:4.6.6-5ubuntu0.5"}]}],"versions":["4:4.6.6-5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"phpmyadmin","binary_version":"4:4.6.6-5ubuntu0.5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-10804.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}