Vulnerability Name:

CVE-2020-5504 (CCN-174160)

Assigned:2020-01-05
Published:2020-01-05
Updated:2020-11-10
Summary: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.
CVSS v3 Severity:8.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
7.7 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
5.4 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N)
4.7 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:6.5 Medium (CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
5.5 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-89
Vulnerability Consequences:Data Manipulation
References:Source: MITRE
Type: CNA
CVE-2020-5504

Source: SUSE
Type: Mailing List, Third Party Advisory
openSUSE-SU-2020:0056

Source: MISC
Type: Exploit, Third Party Advisory
https://cybersecurityworks.com/zerodays/cve-2020-5504-phpmyadmin.html

Source: XF
Type: UNKNOWN
phpmyadmin-cve20205504-sql-injection(174160)

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20200115 [SECURITY] [DLA 2060-1] phpmyadmin security update

Source: CCN
Type: phpMyAdmin Security Advisory PMASA-2020-1
SQL injection in user accounts page

Source: CONFIRM
Type: Patch, Vendor Advisory
https://www.phpmyadmin.net/security/PMASA-2020-1/

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2020-5504

Vulnerable Configuration:Configuration 1:
  • cpe:/a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:* (Version >= 4.0.0 and < 4.9.4)
  • OR cpe:/a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:* (Version >= 5.0.0 and < 5.0.1)

  • Configuration 2:
  • cpe:/o:suse:suse_linux_enterprise_server:12:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/o:debian:debian_linux:8.0:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:phpmyadmin:phpmyadmin:5.0.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20205504
    V
    CVE-2020-5504
    2022-06-30
    oval:org.opensuse.security:def:113142
    P
    phpMyAdmin-5.1.1-1.2 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:64586
    P
    Security update for systemd (Moderate)
    2021-10-12
    oval:org.opensuse.security:def:106570
    P
    phpMyAdmin-5.1.1-1.2 on GA media (Moderate)
    2021-10-01
    oval:org.opensuse.security:def:64756
    P
    Security update for gstreamer-plugins-good (Moderate)
    2021-09-02
    oval:org.opensuse.security:def:63332
    P
    gtk-vnc-devel-1.0.0-2.35 on GA media (Moderate)
    2021-08-10
    oval:org.opensuse.security:def:62836
    P
    wavpack-5.4.0-4.9.1 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:63039
    P
    perl-solv-0.7.19-3.20.1 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:62829
    P
    sane-backends-1.0.32-6.6.2 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:62833
    P
    typelib-1_0-JavaScriptCore-4_0-2.32.0-3.15.1 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:100308
    P
    (Important)
    2021-07-14
    oval:org.opensuse.security:def:63535
    P
    gegl-0_3-0.3.34-1.30 on GA media (Moderate)
    2021-06-08
    oval:org.opensuse.security:def:62861
    P
    libtool-32bit-2.4.6-1.406 on GA media (Moderate)
    2021-06-08
    oval:org.opensuse.security:def:64484
    P
    Security update for samba (Important)
    2021-04-29
    oval:org.opensuse.security:def:74698
    P
    Security update for velocity (Important)
    2021-03-16
    oval:org.opensuse.security:def:93595
    P
    (Important)
    2021-02-11
    oval:org.opensuse.security:def:64644
    P
    Security update for subversion (Important)
    2021-02-10
    oval:org.opensuse.security:def:64240
    P
    dnsmasq on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:25263
    P
    Security update for glibc (Important)
    2020-12-01
    oval:org.opensuse.security:def:25835
    P
    Security update for the Linux Kernel (Important)
    2020-12-01
    oval:org.opensuse.security:def:64377
    P
    libqpdf21 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:25401
    P
    Security update for freetype2 (Important)
    2020-12-01
    oval:org.opensuse.security:def:26508
    P
    Security update for phpMyAdmin (Important)
    2020-12-01
    oval:org.opensuse.security:def:25636
    P
    Security update for libproxy (Important)
    2020-12-01
    oval:org.opensuse.security:def:25060
    P
    Security update for libssh2_org (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:63911
    P
    Security update for file-roller (Low)
    2020-12-01
    oval:org.opensuse.security:def:25135
    P
    Security update for xen (Important)
    2020-12-01
    oval:org.opensuse.security:def:25059
    P
    Security update for apache2-mod_auth_openidc (Important)
    2020-12-01
    oval:org.opensuse.security:def:25791
    P
    Security update for kernel-source (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:64376
    P
    libpython3_6m1_0 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:25344
    P
    Security update for krb5 (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26473
    P
    Security update for Chromium (Important)
    2020-12-01
    oval:org.opensuse.security:def:25485
    P
    Security update for cups (Important)
    2020-12-01
    oval:org.opensuse.security:def:25689
    P
    Security update for MozillaFirefox (Important)
    2020-12-01
    oval:org.opensuse.security:def:63682
    P
    Security update for the Linux Kernel (Important)
    2020-12-01
    oval:org.opensuse.security:def:25071
    P
    Security update for dpdk (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:74831
    P
    Security update for phpMyAdmin (Important)
    2020-12-01
    oval:org.opensuse.security:def:25777
    P
    Security update for flash-player (Critical)
    2020-12-01
    oval:org.opensuse.security:def:110493
    P
    Security update for phpMyAdmin (Important)
    2020-01-14
    oval:com.ubuntu.disco:def:202055040000000
    V
    CVE-2020-5504 on Ubuntu 19.04 (disco) - medium.
    2020-01-09
    oval:com.ubuntu.bionic:def:202055040000000
    V
    CVE-2020-5504 on Ubuntu 18.04 LTS (bionic) - medium.
    2020-01-09
    oval:com.ubuntu.xenial:def:202055040000000
    V
    CVE-2020-5504 on Ubuntu 16.04 LTS (xenial) - medium.
    2020-01-09
    BACK
    phpmyadmin phpmyadmin *
    phpmyadmin phpmyadmin *
    suse suse linux enterprise server 12
    debian debian linux 8.0
    phpmyadmin phpmyadmin 5.0.0