ubuntu-cve-2020-5504
Vulnerability from osv_ubuntu
Published
2020-01-09 22:15
Modified
2026-05-20 14:51
Summary
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.
Severity
8.8 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "phpmyadmin",
"binary_version": "4:4.5.4.1-2ubuntu2.1+esm6"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "phpmyadmin",
"purl": "pkg:deb/ubuntu/phpmyadmin@4:4.5.4.1-2ubuntu2.1+esm6?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4:4.5.4.1-2ubuntu2.1+esm6"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "phpmyadmin",
"binary_version": "4:4.6.6-5ubuntu0.5"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "phpmyadmin",
"purl": "pkg:deb/ubuntu/phpmyadmin@4:4.6.6-5ubuntu0.5?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4:4.6.6-5ubuntu0.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4:4.6.6-5"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "phpmyadmin",
"binary_version": "4:5.1.1+dfsg1-5ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "phpmyadmin",
"purl": "pkg:deb/ubuntu/phpmyadmin@4:5.1.1+dfsg1-5ubuntu1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4:5.0.4+dfsg2-2ubuntu5",
"4:5.1.1+dfsg1-5ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "phpmyadmin",
"binary_version": "4:5.2.1+dfsg-3"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "phpmyadmin",
"purl": "pkg:deb/ubuntu/phpmyadmin@4:5.2.1+dfsg-3?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4:5.2.1+dfsg-1ubuntu1",
"4:5.2.1+dfsg-2ubuntu1",
"4:5.2.1+dfsg-2ubuntu2",
"4:5.2.1+dfsg-3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "phpmyadmin",
"binary_version": "4:5.2.2-really+dfsg-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "phpmyadmin",
"purl": "pkg:deb/ubuntu/phpmyadmin@4:5.2.2-really+dfsg-2?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4:5.2.2-really5.2.2+20250121+dfsg-1",
"4:5.2.2-really+dfsg-1",
"4:5.2.2-really+dfsg-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "phpmyadmin",
"binary_version": "4:5.2.3+dfsg-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "phpmyadmin",
"purl": "pkg:deb/ubuntu/phpmyadmin@4:5.2.3+dfsg-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4:5.2.2-really+dfsg-2",
"4:5.2.3+dfsg-1"
]
}
],
"aliases": [],
"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.",
"id": "UBUNTU-CVE-2020-5504",
"modified": "2026-05-20T14:51:57Z",
"published": "2020-01-09T22:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2020-5504"
},
{
"type": "REPORT",
"url": "https://github.com/phpmyadmin/phpmyadmin/commit/c86acbf3ed49f69cf38b31879886dd5eb86b6983"
},
{
"type": "REPORT",
"url": "https://gist.github.com/ibennetch/4c1b701f4b766e4dd5556e8e26200b6b"
},
{
"type": "REPORT",
"url": "https://www.phpmyadmin.net/security/PMASA-2020-1/"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-4639-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-4843-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2020-5504"
}
],
"related": [
"USN-4639-1",
"USN-4843-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2020-5504"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…