Critical Vulnerabilities in phpMyAdmin: Denial of Service and SQL Injection Risks

phpmyadmin Updated 03 Oct 2025

Summary

16/03/2021
N/A
Yes i
Unrated
Not published

USN-4843-1: phpmyadmin vulnerabilities. Affects phpmyadmin versions < 4:4.0.10-1ubuntu0.1+esm4. Fixed in 4:4.0.10-1ubuntu0.1+esm4. 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, as well as executing SQL queries. Despite its popularity, phpMyAdmin has been found to have multiple vulnerabilities that can lead to severe security risks, including denial of service and SQL injection attacks.

Vulnerability Detail

The vulnerabilities in phpMyAdmin stem from improper input sanitization and management, allowing attackers to exploit these weaknesses. For instance, an attacker could trigger a denial-of-service (DoS) by manipulating password inputs or execute arbitrary PHP commands through unsanitized database names. Additionally, SQL injection vulnerabilities could allow unauthorized access to sensitive data, leading to data breaches and further exploitation.

How To Fix

Minimum fixed version

4:4.0.10-1ubuntu0.1+esm4

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

As a temporary workaround, restrict access to phpMyAdmin by implementing IP whitelisting in your web server configuration to limit who can access the tool. Additionally, consider disabling features that are not in use to minimize the attack surface.

Conclusion

The vulnerabilities in phpMyAdmin present significant risks that can lead to severe security breaches. It is essential to update to the latest patched version to safeguard your database management system. Implementing temporary workarounds can help mitigate risks until a full update is feasible.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

The vulnerabilities affect phpMyAdmin versions on Ubuntu 14.04, 16.04, 18.04, and 20.04 LTS.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner without needing to sign up.

Exploiting these vulnerabilities can lead to denial-of-service attacks, unauthorized access to sensitive data, and the execution of arbitrary code, which can compromise the entire database system.

While updating is the best solution, you can temporarily mitigate risks by restricting access to phpMyAdmin and disabling unused features.

If immediate updates are not possible, ensure that your server is secured with firewalls, and monitor logs for any suspicious activity while planning for an update.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin.

How To Fix

Minimum fixed version

4:4.0.10-1ubuntu0.1+esm4

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