Every CVE Search/ Get API key

CVE-2019-6798

phpMyAdmin SQL injection in Designer feature

9.8 CriticalFix available

An issue was discovered in phpMyAdmin before 4.8.5. A vulnerability was reported where a specially crafted username can be used to trigger a SQL injection attack through the designer feature.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.58%Up 3.0 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

An issue was discovered in phpMyAdmin before 4.8.5. A vulnerability was reported where a specially crafted username can be used to trigger a SQL injection attack through the designer feature.

Record
CVE-2019-6798
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-89
Updated
2026-11-02
CVE List No score

An issue was discovered in phpMyAdmin before 4.8.5. A vulnerability was reported where a specially crafted username can be used to trigger a SQL injection attack through the designer feature.

Record
CVE-2019-6798
Updated
2026-11-02
EUVDEUVD-2022-3712 No score

An issue was discovered in phpMyAdmin before 4.8.5. A vulnerability was reported where a specially crafted username can be used to trigger a SQL injection attack through the designer feature.

Record
EUVD-2022-3712
Updated
2026-11-03
GitHub AdvisoriesGHSA-f732-fxh6-g4qj 9.8

phpMyAdmin SQL injection in Designer feature

An issue was discovered in phpMyAdmin before 4.8.5. A vulnerability was reported where a specially crafted username can be used to trigger a SQL injection attack through the designer feature.

Record
GHSA-f732-fxh6-g4qj
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-89
Updated
2026-11-02
OSVALPINE-CVE-2019-6798 9.8

An issue was discovered in phpMyAdmin before 4.8.5. A vulnerability was reported where a specially crafted username can be used to trigger a SQL injection attack through the designer feature.

Record
ALPINE-CVE-2019-6798
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSV 9.8

An issue was discovered in phpMyAdmin before 4.8.5. A vulnerability was reported where a specially crafted username can be used to trigger a SQL injection attack through the designer feature.

Record
CVE-2019-6798
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2019-6798 9.8

An issue was discovered in phpMyAdmin before 4.8.5. A vulnerability was reported where a specially crafted username can be used to trigger a SQL injection attack through the designer feature.

Record
DEBIAN-CVE-2019-6798
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-f732-fxh6-g4qj 9.8

phpMyAdmin SQL injection in Designer feature

An issue was discovered in phpMyAdmin before 4.8.5. A vulnerability was reported where a specially crafted username can be used to trigger a SQL injection attack through the designer feature.

Record
GHSA-f732-fxh6-g4qj
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-89
Updated
2026-11-02
OSVUBUNTU-CVE-2019-6798 9.8

An issue was discovered in phpMyAdmin before 4.8.5. A vulnerability was reported where a specially crafted username can be used to trigger a SQL injection attack through the designer feature.

Record
UBUNTU-CVE-2019-6798
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2019:0194-1 No score

Security update for phpMyAdmin

This update for phpMyAdmin to version 4.8.5 fixes the following issues:

Security issues fixed:

  • CVE-2019-6799: Fixed an arbitrary file read vulnerability (boo#1123272)
  • CVE-2019-6798: Fixed a SQL injection in the designer interface (boo#1123271)

Other changes:

  • Fix rxport to SQL format not available
  • Fix QR code not shown when adding two-factor authentication to a user account
  • Fix issue with adding a new user in MySQL 8.0.11 and newer
  • Fix frozen interface relating to Text_Plain_Sql plugin
  • Fix missing table level operations tab
Record
openSUSE-SU-2019:0194-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11171-1 No score

phpMyAdmin-5.1.1-1.2 on GA media

These are all security issues fixed in the phpMyAdmin-5.1.1-1.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11171-1
Updated
2026-11-02
OSVUSN-4639-1 No score

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 discovered that phpmyadmin incorrectly handled some requests. An attacker could possibly use this to perform a CSRF attack. (CVE-2019-12616)

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 username. (CVE-2019-6798, CVE-2020-10804, CVE-2020-5504)

It was discovered that phpMyAdmin would allow sensitive files to be leaked if certain configuration options were set. An attacker could use this vulnerability to access confidential information. (CVE-2019-6799)

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 or table name. (CVE-2020-10802)

It was discovered that phpMyAdmin did not properly handle data from the database when displaying it. If an attacker were to insert specially- crafted data into certain database tables, the attacker could execute a cross-site scripting (XSS) attack. (CVE-2020-10803)

It was discovered that phpMyAdmin was vulnerable to an XSS attack. If a victim were to click on a crafted link, an attacker could run malicious JavaScript on the victim's system. (CVE-2020-26934)

It was discovered that phpMyAdmin did not properly handler certain SQL statements in the search feature. An attacker could use this vulnerability to inject malicious SQL into a query. (CVE-2020-26935)

It was discovered that phpMyAdmin did not properly sanitize certain input. An attacker could use this vulnerability to possibly execute an HTML injection or a cross-site scripting (XSS) attack. (CVE-2019-19617)

Record
USN-4639-1
Updated
2026-11-02
OSVUSN-4843-1 No score

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 ESM. (CVE-2016-6619)

Emanuel Bronshtein discovered that phpMyadmin failed to properly sanitize input. An authenticated attacker could use this vulnerability to cause a denial-of-service (DoS). This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2016-6630)

Emanuel Bronshtein discovered that phpMyAdmin failed to properly sanitize input. An attacker could use this vulnerability to bypass AllowRoot restrictions and deny rules for usernames. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2016-9849)

Emanuel Bronshtein discovered that phpMyAdmin would allow sensitive information to be leaked when the argument separator in a URL was not the default & value. An attacker could use this vulnerability to obtain the CSRF token of a user. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2016-9866)

Isaac Bennetch discovered that phpMyAdmin was incorrectly restricting user access due to the behavior of the substr function on some PHP versions. An attacker could use this vulnerability to bypass login restrictions established for users that have no password set. This issue only affected Ubuntu 14.04 ESM. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2017-18264)

Emanuel Bronshtein discovered that phpMyAdmin failed to properly sanitize input in the form of parameters sent during a table editing operation. An attacker could use this vulnerability to trigger an endless recursion and cause a denial-of-service (DoS). This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2017-1000014)

Emanuel Bronshtein discovered that phpMyAdmin failed to properly sanitize input used to generate a web page. An authenticated attacker could use this vulnerability to execute CSS injection attacks. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2017-1000015)

It was discovered that phpMyAdmin incorrectly handled certain input. An attacker could use this vulnerability to execute a cross-site scripting (XSS) attack via a crafted URL. This issue only affected Ubuntu 16.04 ESM. (CVE-2018-7260)

It was discovered phpMyAdmin incorrectly handled database names. An attacker could possibly use this to trigger a cross-site scripting attack. This issue only affected Ubuntu 16.04 ESM and Ubuntu 18.04 ESM. (CVE-2018-12581)

Daniel Le Gall discovered that phpMyAdmin would expose sensitive information to unauthorized actors due to an error in its transformation feature. An authenticated attacker could use this vulnerability to leak the contents of a local file. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2018-19968)

It was discovered that phpMyAdmin incorrectly handled user input. An attacker could possibly use this to perform a cross-site scripting attack. This issue only affected Ubuntu 16.04 ESM. (CVE-2018-19970)

It was discovered that phpMyAdmin failed to properly sanitize input. An attacker could use this vulnerability to execute an SQL injection attack via a specially crafted database name. This issue only affected Ubuntu 16.04 ESM. (CVE-2019-11768)

It was discovered that phpMyAdmin incorrectly handled some requests. An attacker could possibly use this to perform a cross…

Record
USN-4843-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
phpmyadmin/phpmyadmin
Packagist
before 4.8.5
4.8.5
phpmyadmin
Alpine:v3.10
4.5.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.11
4.5.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.12
4.5.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.13
4.5.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.14
4.5.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.15
4.5.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.16
4.5.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.17
4.5.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.18
4.5.0 up to 4.8.5-r0
4.8.5-r0
Show 22 moreShow less
Affected packages
PackageAffectedFixed
phpmyadmin
Alpine:v3.19
4.5.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.20
4.5.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.21
4.5.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.22
4.5.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.23
4.5.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.24
4.5.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Alpine:v3.9
4.5.0 up to 4.8.5-r0
4.8.5-r0
phpmyadmin
Debian:12
before 4:4.9.1+dfsg1-2
4:4.9.1+dfsg1-2
phpmyadmin
Debian:13
before 4:4.9.1+dfsg1-2
4:4.9.1+dfsg1-2
phpmyadmin
Debian:14
before 4:4.9.1+dfsg1-2
4:4.9.1+dfsg1-2
phpmyadmin/phpmyadmin
Packagist
before 4.8.5, plus listed versions
4.0.04.0.14.0.104.0.10.14.0.10.2
Show 33 moreShow less
4.0.10.34.0.10.44.0.10.54.0.10.64.0.10.74.0.10.84.0.10.94.0.24.0.34.0.44.0.4.14.0.4.24.0.54.0.64.0.74.0.84.0.94.7.04.7.14.7.24.7.34.7.44.7.54.7.64.7.74.7.84.7.94.8.04.8.0.14.8.14.8.24.8.34.8.4
4.8.5
phpmyadmin
Ubuntu:Pro:16.04:LTS
before 4:4.5.4.1-2ubuntu2.1+esm3, plus listed versions
4:4.4.13.1-14:4.5.0.2-24:4.5.1-14:4.5.1-24:4.5.1-3
Show 9 moreShow less
4:4.5.2-14:4.5.2-24:4.5.3.1-14:4.5.4-14:4.5.4.1-24:4.5.4.1-2ubuntu14:4.5.4.1-2ubuntu24:4.5.4.1-2ubuntu2.14:4.5.4.1-2ubuntu2.1+esm2
4:4.5.4.1-2ubuntu2.1+esm3
phpmyadmin
Ubuntu:18.04:LTS
before 4:4.6.6-5ubuntu0.5, plus listed versions
4:4.6.6-5
4:4.6.6-5ubuntu0.5
phpmyadmin
Ubuntu:18.04:LTS
From an advisory covering 14 CVEs
before 4:4.6.6-5ubuntu0.5, plus listed versions
4:4.6.6-5
4:4.6.6-5ubuntu0.5
phpmyadmin
Ubuntu:Pro:14.04:LTS
From an advisory covering 21 CVEs
before 4:4.0.10-1ubuntu0.1+esm4, plus listed versions
4:4.0.6-14:4.0.8-14:4.0.9-14:4.0.10-14:4.0.10-1ubuntu0.14:4.0.10-1ubuntu0.1+esm14:4.0.10-1ubuntu0.1+esm24:4.0.10-1ubuntu0.1+esm3
4:4.0.10-1ubuntu0.1+esm4
phpmyadmin
Ubuntu:Pro:16.04:LTS
From an advisory covering 21 CVEs
before 4:4.5.4.1-2ubuntu2.1+esm6, plus listed versions
4:4.4.13.1-14:4.5.0.2-24:4.5.1-14:4.5.1-24:4.5.1-3
Show 12 moreShow less
4:4.5.2-14:4.5.2-24:4.5.3.1-14:4.5.4-14:4.5.4.1-24:4.5.4.1-2ubuntu14:4.5.4.1-2ubuntu24:4.5.4.1-2ubuntu2.14:4.5.4.1-2ubuntu2.1+esm24:4.5.4.1-2ubuntu2.1+esm34:4.5.4.1-2ubuntu2.1+esm44:4.5.4.1-2ubuntu2.1+esm5
4:4.5.4.1-2ubuntu2.1+esm6
phpmyadmin
Ubuntu:Pro:18.04:LTS
From an advisory covering 21 CVEs
before 4:4.6.6-5ubuntu0.5+esm1, plus listed versions
4:4.6.6-54:4.6.6-5ubuntu0.2+esm14:4.6.6-5ubuntu0.2+esm24:4.6.6-5ubuntu0.5
4:4.6.6-5ubuntu0.5+esm1
phpmyadmin
Ubuntu:Pro:20.04:LTS
From an advisory covering 21 CVEs
before 4:4.9.5+dfsg1-2ubuntu0.1~esm1, plus listed versions
4:4.9.1+dfsg1-24:4.9.2+dfsg1-14:4.9.5+dfsg1-1ubuntu14:4.9.5+dfsg1-2
4:4.9.5+dfsg1-2ubuntu0.1~esm1
phpMyAdmin
SUSE:Package Hub 12
From an advisory covering 2 CVEs
before 4.8.5-bp150.3.9.1
4.8.5-bp150.3.9.1
phpMyAdmin
SUSE:Package Hub 15
From an advisory covering 2 CVEs
before 4.8.5-bp150.3.9.1
4.8.5-bp150.3.9.1
phpMyAdmin
openSUSE:Leap 15.0
From an advisory covering 2 CVEs
before 4.8.5-bp150.3.9.1
4.8.5-bp150.3.9.1
phpMyAdmin
openSUSE:Tumbleweed
From an advisory covering 31 CVEs
before 5.1.1-1.2
5.1.1-1.2

History

History
RecordedChangedSources
affected, facts
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-6798 is a critical vulnerability (CVSS 9.8) in Phpmyadmin, published January 26, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.58%, the 89th percentile. Fixed in phpmyadmin/phpmyadmin 4.8.5.

References

Show 64 moreShow less
This page doesn't list everything

Left out here: the rest of 1 source description. The JSON record has them.

MoveEnter Open