Ubuntu CVE Tracker
UBUNTU-CVE-2020-5504
Details
In phpMyAdmin 4 before 4.9.4 and 5 before 5.0.1, SQL injection exists in the user accounts page. A malicious user could inject custom SQL in place of their own username when creating queries to this page. An attacker must have a valid MySQL account to access the server.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | phpmyadmin | All versions before 4:4.5.4.1-2ubuntu2.1+esm6 (fixed in 4:4.5.4.1-2ubuntu2.1+esm6) |
| Ubuntu:18.04:LTS | phpmyadmin | All versions before 4:4.6.6-5ubuntu0.5 (fixed in 4:4.6.6-5ubuntu0.5) |
| Ubuntu:22.04:LTS | phpmyadmin | All versions, no fix listed |
| Ubuntu:24.04:LTS | phpmyadmin | All versions, no fix listed |
| Ubuntu:25.10 | phpmyadmin | All versions, no fix listed |
| Ubuntu:26.10 | phpmyadmin | All versions, no fix listed |
| Ubuntu:26.04:LTS | phpmyadmin | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2020-5504
- https://github.com/phpmyadmin/phpmyadmin/commit/c86acbf3ed49f69cf38b31879886dd5eb86b6983
- https://gist.github.com/ibennetch/4c1b701f4b766e4dd5556e8e26200b6b
- https://www.phpmyadmin.net/security/PMASA-2020-1/
- https://ubuntu.com/security/notices/USN-4639-1
- https://ubuntu.com/security/notices/USN-4843-1
- https://www.cve.org/CVERecord?id=CVE-2020-5504