Critical Vulnerability in phpMyAdmin: Arbitrary PHP Command Execution Risk

phpmyadmin Updated 03 Oct 2025

Summary

11/12/2016
N/A
Yes i
High
8.8

UBUNTU-CVE-2016-6609: An issue was discovered in phpMyAdmin. Affects phpmyadmin versions < 4:4.0.10-1ubuntu0.1+esm3. Fixed in 4:4.0.10-1ubuntu0.1+esm3. 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. However, certain versions of phpMyAdmin are vulnerable to a security flaw that can be exploited to execute arbitrary PHP commands, posing a significant risk to database integrity and security.

Vulnerability Detail

An issue was discovered in phpMyAdmin where a specially crafted database name could be used to run arbitrary PHP commands through the array export feature. This vulnerability affects all 4.6.x versions (prior to 4.6.4), 4.4.x versions (prior to 4.4.15.8), and 4.0.x versions (prior to 4.0.10.17). The potential ramifications include unauthorized access to sensitive data, data manipulation, and complete compromise of the database server. The CVSS score for this vulnerability is 8.8, indicating a high severity level.

How To Fix

Minimum fixed version

4:4.0.10-1ubuntu0.1+esm3

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, users can restrict access to the phpMyAdmin interface by implementing IP whitelisting or using strong authentication methods to limit exposure until the package is updated.

Conclusion

The vulnerability in phpMyAdmin poses a significant risk to users, allowing for arbitrary PHP command execution through specially crafted database names. It is crucial to update to the patched versions to mitigate this risk and ensure the security of your database management system.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

The vulnerability affects all 4.6.x versions (prior to 4.6.4), 4.4.x versions (prior to 4.4.15.8), and 4.0.x versions (prior to 4.0.10.17).

The risks include unauthorized access to sensitive data, data manipulation, and the potential for a complete compromise of the database server.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.

The CVSS score of this vulnerability is 8.8, indicating a high severity level.

As a temporary measure, restrict access to the phpMyAdmin interface using IP whitelisting or strong authentication methods.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin.

How To Fix

Minimum fixed version

4:4.0.10-1ubuntu0.1+esm3

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