Directory Traversal Vulnerability in phpMyAdmin: Remote File Inclusion Risk

phpmyadmin Updated 02 Oct 2025

Summary

01/08/2011
N/A
Yes i
Unrated
Not published

CVE-2011-2718: Multiple directory traversal vulnerabilities in the relational schema implementation in phpMyAdmin 3.4.x before 3.4.3.2 allow remote authenticated users to include and execute arbitrary local files via directory traversa... Affects phpmyadmin versions < 4:3.4.3.2-1. Fixed in 4:3.4.3.2-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 Devnack Penetration testing for web, API and mobile 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 provides a user-friendly way to perform database operations such as creating, modifying, and deleting databases and tables. However, certain versions of phpMyAdmin, specifically 3.4.x before 3.4.3.2, are vulnerable to directory traversal attacks, which can allow unauthorized access to sensitive files on the server.

Vulnerability Detail

The vulnerability arises from multiple directory traversal flaws in the relational schema implementation of phpMyAdmin. Authenticated remote users can exploit these vulnerabilities by manipulating the export type field to include and execute arbitrary local files. This can lead to unauthorized access to sensitive information and potential server compromise. The affected files include libraries/schema/User_Schema.class.php and schema_export.php, which are critical components of the phpMyAdmin export functionality.

How To Fix

Minimum fixed version

4:3.4.3.2-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

As a temporary workaround, restrict access to the phpMyAdmin interface by implementing IP whitelisting or using a web application firewall (WAF) to block unauthorized access until the software can be updated.

Conclusion

The directory traversal vulnerability in phpMyAdmin versions 3.4.x before 3.4.3.2 poses a significant risk to users, allowing unauthorized file access through manipulated export fields. It is crucial to upgrade to the latest version to mitigate this risk and ensure the security of your database management system.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

A directory traversal vulnerability allows an attacker to access files and directories that are stored outside the intended directory. This can lead to unauthorized file access and execution.

Check the version of phpMyAdmin you are using. If it is 3.4.x and prior to 3.4.3.2, it is vulnerable. You can also use tools like Vulert to monitor for vulnerabilities.

Exploitation of this vulnerability can lead to unauthorized access to sensitive files, potential data breaches, and server compromise.

Yes, you can use Vulert, which monitors open-source vulnerabilities in real-time using just a manifest file like package-lock.json. You can check your application for vulnerabilities at the Vulert playground.

Implement access restrictions and monitor your application closely for any suspicious activity until you can perform the upgrade.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin.

How To Fix

Minimum fixed version

4:3.4.3.2-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