SQL Injection Vulnerability in phpMyAdmin: A Threat to Database Integrity

phpmyadmin Updated 02 Oct 2025

Summary

05/06/2019
N/A
Yes i
Critical
9.8

CVE-2019-11768: An issue was discovered in phpMyAdmin before 4.9.0.1. Affects phpmyadmin across 2 version ranges.

< 4:4.9.1+dfsg1-2 < c60a750764b8a4b927b15e03640908ef751089d7

Fixed in 4:4.9.1+dfsg1-2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

phpMyAdmin is a widely used open-source tool for managing MySQL databases through a web interface. It allows users to perform various database operations such as creating, modifying, and deleting databases and tables. Despite its popularity, phpMyAdmin has been found to be vulnerable to SQL injection attacks, particularly through its designer feature, which can be exploited by specially crafted database names.

Vulnerability Detail

The vulnerability, identified as CVE-2019-11768, arises from improper handling of database names within phpMyAdmin prior to version 4.9.0.1. An attacker can exploit this flaw by submitting a specially crafted database name, which can lead to SQL injection. This could allow unauthorized access to sensitive data, manipulation of database contents, and potentially complete control over the database server. The vulnerability has a CVSS score of 9.8, indicating a critical level of severity.

How To Fix

Minimum fixed version

4:4.9.1+dfsg1-2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade phpmyadmin

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading is not immediately possible, consider restricting access to phpMyAdmin by implementing firewall rules or using HTTP authentication to limit who can access the tool. Additionally, avoid using database names that could be crafted to exploit this vulnerability.

Conclusion

The SQL injection vulnerability in phpMyAdmin (CVE-2019-11768) poses a significant risk to database integrity. Users are strongly advised to upgrade to the latest version to mitigate this risk. For those unable to upgrade immediately, implementing access restrictions can serve as a temporary workaround. Utilizing tools like Vulert can further enhance security by monitoring for vulnerabilities.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

CVE-2019-11768 is a vulnerability in phpMyAdmin that allows for SQL injection attacks through specially crafted database names.

You can check your phpMyAdmin version and compare it with the fixed version (4.9.1+dfsg1-2). Additionally, you can use Vulert's playground to monitor for vulnerabilities.

Exploitation of this vulnerability can lead to unauthorized access to sensitive data, data manipulation, and complete control over the database server.

Yes, you can restrict access to phpMyAdmin and avoid using potentially exploitable database names as a temporary measure.

Vulert is a tool that monitors and alerts for open-source vulnerabilities in software using a manifest file. You can check for vulnerabilities in your application without needing to install any software.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin.

How To Fix

Minimum fixed version

4:4.9.1+dfsg1-2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade phpmyadmin

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback