Vulnerability in phpMyAdmin: Arbitrary MySQL Server Connection

phpmyadmin Updated 02 Oct 2025

Summary

17/07/2017
N/A
Yes i
High
8.8

CVE-2017-1000017: phpMyAdmin 4.0, 4.4 and 4.6 are vulnerable to a weakness where a user with appropriate permissions is able to connect to an arbitrary MySQL server. Affects phpmyadmin across 2 version ranges.

< 4:4.6.6-1 >= 6da64cc3b2ba4439574f914f51e161645375be96, < 3d8b97b2556311ca7a0a9b8cbbbba94aa2276b6e

Fixed in 4:4.6.6-1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

phpMyAdmin is a popular web-based administration tool for managing MySQL databases. It provides a user-friendly interface for performing various database operations. However, versions 4.0, 4.4, and 4.6 of phpMyAdmin are vulnerable to a weakness that allows a user with appropriate permissions to connect to an arbitrary MySQL server.

Vulnerability Detail

The vulnerability in phpMyAdmin allows an attacker with the necessary permissions to connect to any MySQL server, regardless of the intended server. This can lead to unauthorized access to sensitive data or the ability to perform malicious actions on the connected server. The vulnerability is rated with a CVSS score of 8.8, indicating a high severity level.

How To Fix

Minimum fixed version

4:4.6.6-1

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

There is no specific workaround mentioned for this vulnerability. It is crucial to apply the recommended fix by updating phpMyAdmin to the patched version.

Conclusion

The vulnerability in phpMyAdmin that allows for an arbitrary MySQL server connection can have severe consequences, including unauthorized access to data and potential malicious actions. It is crucial to update phpMyAdmin to version 4.6.6-1 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

phpMyAdmin is a web-based administration tool for managing MySQL databases. It provides a graphical interface for performing various database operations.

Versions 4.0, 4.4, and 4.6 of phpMyAdmin are vulnerable to this arbitrary MySQL server connection vulnerability.

The vulnerability allows an attacker to connect to any MySQL server, potentially leading to unauthorized access to sensitive data or the ability to perform malicious actions on the connected server.

To fix this vulnerability, update phpMyAdmin to version 4.6.6-1 or later. This update includes the necessary patches to prevent the arbitrary MySQL server connection.

You can download the latest version of phpMyAdmin from the official phpMyAdmin website or through package managers for your specific operating system.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin.

How To Fix

Minimum fixed version

4:4.6.6-1

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