CVE-2011-0986: phpMyAdmin Path Disclosure Vulnerability

phpmyadmin/phpmyadmin Updated 02 Oct 2025

Summary

17/05/2022
Yes i
Moderate
Not published

CVE-2011-0986: phpMyAdmin allows remote attackers to obtain installation path via direct request for nonexistent file. Affects phpmyadmin/phpmyadmin across 2 version ranges.

>= 2.11.0, < 2.11.11.2 >= 3.3.0, < 3.3.9.1

Fixed in 2.11.11.2 or 3.3.9.1, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2011-0986 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

phpMyAdmin is a widely used open-source tool for managing MySQL databases through a web interface. It provides a user-friendly way to perform database operations, including creating, modifying, and deleting databases and tables. The tool is known for its extensive features, including support for multiple languages, import/export capabilities, and user management. However, certain versions of phpMyAdmin are vulnerable to a path disclosure issue, which can expose sensitive information about the installation path to remote attackers.

Vulnerability Detail

The vulnerability arises from improper handling of requests for nonexistent files in phpMyAdmin versions 2.11.x before 2.11.11.2 and 3.3.x before 3.3.9.1. When a remote attacker requests a file that does not exist, the application inadvertently reveals the installation path of the software. This information can be exploited by attackers to launch further attacks, potentially leading to unauthorized access or data breaches. The vulnerability is classified under CWE-20 (Improper Input Validation) and CWE-22 (Improper Limitation of a Pathname to a Restricted Directory).

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.11.0, < 2.11.11.2 2.11.11.2
    composer require phpmyadmin/phpmyadmin:2.11.11.2
  • >= 3.3.0, < 3.3.9.1 3.3.9.1
    composer require phpmyadmin/phpmyadmin:3.3.9.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, users can restrict access to the phpMyAdmin directory through web server configuration settings, such as using .htaccess files or server-level configurations to prevent unauthorized access to the application.

Conclusion

In summary, the CVE-2011-0986 vulnerability in phpMyAdmin poses a significant risk by allowing remote attackers to disclose the installation path. It is crucial for users to update to the latest patched versions to safeguard their applications. Implementing temporary workarounds can also help mitigate risks until the update is applied.

See every vulnerability recorded for phpmyadmin/phpmyadmin →

Share this vulnerability

FAQ

The vulnerability allows remote attackers to obtain the installation path of phpMyAdmin by requesting nonexistent files.

The affected versions are phpMyAdmin 2.11.x before 2.11.11.2 and 3.3.x before 3.3.9.1.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The exposure of the installation path can lead to further attacks, including unauthorized access to sensitive data or exploitation of other vulnerabilities.

Yes, you can restrict access to the phpMyAdmin directory using web server configurations to prevent unauthorized access until you can apply the update.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin/phpmyadmin.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.11.0, < 2.11.11.2 2.11.11.2
    composer require phpmyadmin/phpmyadmin:2.11.11.2
  • >= 3.3.0, < 3.3.9.1 3.3.9.1
    composer require phpmyadmin/phpmyadmin:3.3.9.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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