SQL Injection Vulnerability in phpMyAdmin - Critical Security Flaw

phpmyadmin Updated 02 Oct 2025

Summary

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

ALPINE-CVE-2016-9864: An issue was discovered in phpMyAdmin. Affects phpmyadmin versions < 4.4.15.9-r0. Fixed in 4.4.15.9-r0. 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 SQL injection attacks, which can compromise the security of the database and its data.

Vulnerability Detail

An issue was discovered in phpMyAdmin that allows an attacker to inject SQL statements through a crafted username or table name. This vulnerability can be exploited to execute unauthorized SQL commands with the privileges of the control user, potentially granting read and write access to the configuration storage database and, if the control user has sufficient privileges, access to MySQL database tables. All versions of phpMyAdmin 4.6.x prior to 4.6.5, 4.4.x prior to 4.4.15.9, and 4.0.x prior to 4.0.10.18 are affected. The CVSS score for this vulnerability is 7.5, indicating a high severity level.

How To Fix

Minimum fixed version

4.4.15.9-r0

This is the first release that contains the fix.

sudo apk add --upgrade phpmyadmin

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

Workaround

As a temporary measure, you can restrict access to the phpMyAdmin interface by implementing IP whitelisting in your web server configuration, ensuring that only trusted IP addresses can access the tool.

Conclusion

The SQL injection vulnerability in phpMyAdmin poses a significant risk to database security. It is crucial for users to update to the latest patched versions to protect against potential exploitation. Implementing workarounds can provide temporary relief, but a complete fix through updates is recommended.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

All versions of phpMyAdmin 4.6.x prior to 4.6.5, 4.4.x prior to 4.4.15.9, and 4.0.x prior to 4.0.10.18 are affected.

Exploitation of this vulnerability can lead to unauthorized access to sensitive database information, allowing attackers to read and modify data.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The CVSS score for this vulnerability is 7.5, indicating a high severity level.

Yes, you can implement IP whitelisting to restrict access to the phpMyAdmin interface as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin.

How To Fix

Minimum fixed version

4.4.15.9-r0

This is the first release that contains the fix.

sudo apk add --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