CVE-2020-5504
published 2020-01-09CVE-2020-5504: 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…
PriorityP271high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EXPLOIT
EPSS
38.78%
98.4th percentile
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
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | phpmyadmin | < phpmyadmin 4:4.9.4+dfsg1-1 (bookworm) | phpmyadmin 4:4.9.4+dfsg1-1 (bookworm) |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.9.4+dfsg1-1 | 4:4.9.4+dfsg1-1 |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.9.4+dfsg1-1 | 4:4.9.4+dfsg1-1 |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.9.4+dfsg1-1 | 4:4.9.4+dfsg1-1 |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.9.4+dfsg1-1 | 4:4.9.4+dfsg1-1 |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.6.6-5ubuntu0.5 | 4:4.6.6-5ubuntu0.5 |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.0.10-1ubuntu0.1+esm4 | 4:4.0.10-1ubuntu0.1+esm4 |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.5.4.1-2ubuntu2.1+esm6 | 4:4.5.4.1-2ubuntu2.1+esm6 |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.6.6-5ubuntu0.5+esm1 | 4:4.6.6-5ubuntu0.5+esm1 |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.9.5+dfsg1-2ubuntu0.1~esm1 | 4:4.9.5+dfsg1-2ubuntu0.1~esm1 |
| phpmyadmin | phpmyadmin | >= 4.0.0 < 4.9.4 | 4.9.4 |
| phpmyadmin | phpmyadmin | >= 4.0.0 < 4.9.4 | 4.9.4 |
| phpmyadmin | phpmyadmin | >= 5.0.0 < 5.0.1 | 5.0.1 |
| phpmyadmin | phpmyadmin | >= 5.0.0 < 5.0.1 | 5.0.1 |
| suse | suse_linux_enterprise_server | — | — |
Detection & IOCsextracted from sources · hover to see the quote
url/server_privileges.php?ajax_request=true&validate_username=set&username=%27%20OR%20%271%27%3D%271%27%20--%20↗
- →Monitor HTTP GET requests to /server_privileges.php with parameters ajax_request=true and validate_username=set, especially where the username parameter contains SQL metacharacters such as single quotes, OR clauses, or comment sequences (--). ↗
- →SQL injection is triggered via the username parameter on the user accounts page (server_privileges.php); alert on URL-encoded SQL injection patterns (%27, %20OR%20, %20--%20) in that parameter. ↗
- →Exploitation requires an authenticated MySQL session; correlate suspicious server_privileges.php requests with valid session cookies to identify authenticated abuse. ↗
- ·Exploitation requires a valid MySQL account; unauthenticated attackers cannot trigger this vulnerability. ↗
- ·Affected versions are phpMyAdmin 4.x before 4.9.4 and 5.x before 5.0.1; instances running 4.9.4+ or 5.0.1+ are not vulnerable. ↗
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_ubuntu6.5MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
phpMyAdmin vulnerabilities
vendor_ubuntu·2021-03-16·CVSS 5.0
CVE-2019-12922 [MEDIUM] phpMyAdmin vulnerabilities
Title: phpMyAdmin vulnerabilities
Summary: Several security issues were fixed in phpMyAdmin.
Javier Nieto and Andres Rojas discovered that phpMyAdmin incorrectly
managed input in the form of passwords. An attacker could use this
vulnerability to cause a denial-of-service (DoS). This issue only
affected Ubuntu 14.04 ESM. (CVE-2014-9218)
Emanuel Bronshtein discovered that phpMyAdmin failed to properly sanitize
input in the form of database names in the PHP Array export feature.
An authenticated attacker could use this vulnerability to run arbitrary
PHP commands. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.
(CVE-2016-6609)
Emanuel Bronshtein discovered that phpMyAdmin failed to properly sanitize
input. An attacker could use this vulnerability to execute SQL injection
at
Ubuntu
phpMyAdmin vulnerabilities
vendor_ubuntu·2020-11-19·CVSS 6.5
CVE-2020-5504 [MEDIUM] phpMyAdmin vulnerabilities
Title: phpMyAdmin vulnerabilities
Summary: Several security issues were fixed in phpMyAdmin.
It was discovered that there was a bug in the way phpMyAdmin handles the
phpMyAdmin Configuration Storage tables. An authenticated attacker could
use this vulnerability to cause phpmyAdmin to leak sensitive files.
(CVE-2018-19968)
It was discovered that phpMyAdmin incorrectly handled user input. An
attacker could possibly use this for an XSS attack. (CVE-2018-19970)
It was discovered that phpMyAdmin mishandled certain input. An attacker
could use this vulnerability to execute a cross-site scripting (XSS) attack
via a crafted URL. (CVE-2018-7260)
It was discovered that phpMyAdmin failed to sanitize certain input. An
attacker could use this vulnerability to execute an SQL injection attack
via a
Debian
CVE-2020-5504: phpmyadmin - In phpMyAdmin 4 before 4.9.4 and 5 before 5.0.1, SQL injection exists in the use...
vendor_debian·2020·CVSS 8.8
CVE-2020-5504 [HIGH] CVE-2020-5504: phpmyadmin - In phpMyAdmin 4 before 4.9.4 and 5 before 5.0.1, SQL injection exists in the use...
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.
Scope: local
bookworm: resolved (fixed in 4:4.9.4+dfsg1-1)
bullseye: resolved (fixed in 4:4.9.4+dfsg1-1)
forky: resolved (fixed in 4:4.9.4+dfsg1-1)
sid: resolved (fixed in 4:4.9.4+dfsg1-1)
trixie: resolved (fixed in 4:4.9.4+dfsg1-1)
OSV
phpMyAdmin SQL injection in user accounts page
osv·2022-05-24
CVE-2020-5504 [HIGH] phpMyAdmin SQL injection in user accounts page
phpMyAdmin SQL injection in user accounts page
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.
GHSA
phpMyAdmin SQL injection in user accounts page
ghsa·2022-05-24
CVE-2020-5504 [HIGH] CWE-89 phpMyAdmin SQL injection in user accounts page
phpMyAdmin SQL injection in user accounts page
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.
OSV
phpmyadmin vulnerabilities
osv·2021-03-16·CVSS 5.0
CVE-2014-9218 [MEDIUM] phpmyadmin vulnerabilities
phpmyadmin vulnerabilities
Javier Nieto and Andres Rojas discovered that phpMyAdmin incorrectly
managed input in the form of passwords. An attacker could use this
vulnerability to cause a denial-of-service (DoS). This issue only
affected Ubuntu 14.04 ESM. (CVE-2014-9218)
Emanuel Bronshtein discovered that phpMyAdmin failed to properly sanitize
input in the form of database names in the PHP Array export feature.
An authenticated attacker could use this vulnerability to run arbitrary
PHP commands. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.
(CVE-2016-6609)
Emanuel Bronshtein discovered that phpMyAdmin failed to properly sanitize
input. An attacker could use this vulnerability to execute SQL injection
attacks. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 E
OSV
phpmyadmin vulnerabilities
osv·2020-11-19·CVSS 6.5
CVE-2018-19968 [MEDIUM] phpmyadmin vulnerabilities
phpmyadmin vulnerabilities
It was discovered that there was a bug in the way phpMyAdmin handles the
phpMyAdmin Configuration Storage tables. An authenticated attacker could
use this vulnerability to cause phpmyAdmin to leak sensitive files.
(CVE-2018-19968)
It was discovered that phpMyAdmin incorrectly handled user input. An
attacker could possibly use this for an XSS attack. (CVE-2018-19970)
It was discovered that phpMyAdmin mishandled certain input. An attacker
could use this vulnerability to execute a cross-site scripting (XSS) attack
via a crafted URL. (CVE-2018-7260)
It was discovered that phpMyAdmin failed to sanitize certain input. An
attacker could use this vulnerability to execute an SQL injection attack
via a specially crafted database name. (CVE-2019-11768)
It was discovere
OSV
CVE-2020-5504: In phpMyAdmin 4 before 4
osv·2020-01-09·CVSS 8.8
CVE-2020-5504 [HIGH] CVE-2020-5504: In phpMyAdmin 4 before 4
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.
No detection rules found.
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00024.htmlhttps://cybersecurityworks.com/zerodays/cve-2020-5504-phpmyadmin.htmlhttps://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2020-5504.mdhttps://lists.debian.org/debian-lts-announce/2020/01/msg00011.htmlhttps://www.phpmyadmin.net/security/PMASA-2020-1/http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00024.htmlhttps://cybersecurityworks.com/zerodays/cve-2020-5504-phpmyadmin.htmlhttps://lists.debian.org/debian-lts-announce/2020/01/msg00011.htmlhttps://www.phpmyadmin.net/security/PMASA-2020-1/
2020-01-09
Published