Vulnerability in phpMyAdmin: Arbitrary PHP Code Execution and Cross-Site Scripting

phpmyadmin Updated 02 Oct 2025

Summary

29/08/2010
N/A
Yes i
Unrated
Not published

DSA-2097-1: phpmyadmin - several vulnerabilities. Affects phpmyadmin versions < 4:2.11.8.1-5+lenny5. Fixed in 4:2.11.8.1-5+lenny5. 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 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 web-based tool used for administering MySQL databases. It provides a user-friendly interface for managing database operations such as creating, modifying, and deleting tables, executing SQL queries, and managing user privileges. The tool is widely used by developers and administrators to simplify database management tasks. However, several vulnerabilities have been discovered in phpMyAdmin that can potentially compromise the security of the application and the underlying database.

Vulnerability Detail

The first vulnerability, identified as CVE-2010-3055, is related to the configuration setup script of phpMyAdmin. This script fails to properly sanitize its output file, allowing remote attackers to execute arbitrary PHP code by sending a specially crafted POST request. In Debian, the setup tool is protected through Apache HTTP basic authentication by default, which mitigates the risk to some extent.

The second vulnerability, identified as CVE-2010-3056, involves multiple instances of cross-site scripting (XSS) attacks. These vulnerabilities enable remote attackers to inject arbitrary web scripts or HTML code into the phpMyAdmin interface, potentially leading to session hijacking, data theft, or other malicious activities.

How To Fix

Minimum fixed version

4:2.11.8.1-5+lenny5

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 are no specific workarounds mentioned for these vulnerabilities. However, it is crucial to ensure that phpMyAdmin is properly protected through authentication mechanisms, such as Apache HTTP basic authentication, to limit unauthorized access to the setup tool and mitigate the risk of arbitrary PHP code execution.

Conclusion

phpMyAdmin is prone to multiple vulnerabilities, including arbitrary PHP code execution and cross-site scripting. These vulnerabilities can be mitigated by upgrading to the latest version of the phpMyAdmin package. It is important to keep the software up to date and implement appropriate security measures, such as authentication mechanisms, to protect against potential attacks. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

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

CVE-2010-3055 is a vulnerability in phpMyAdmin that allows remote attackers to execute arbitrary PHP code by exploiting a flaw in the configuration setup script.

CVE-2010-3056 is a vulnerability in phpMyAdmin that enables remote attackers to inject malicious web scripts or HTML code, potentially leading to cross-site scripting attacks.

To fix these vulnerabilities, you should upgrade the phpMyAdmin package to the latest version available for your distribution. Refer to the official Debian repositories or your operating system's package manager for the updated package.

While no specific workarounds are mentioned for these vulnerabilities, it is important to ensure that phpMyAdmin is protected through authentication mechanisms, such as Apache HTTP basic authentication, to limit unauthorized access to the setup tool.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin.

How To Fix

Minimum fixed version

4:2.11.8.1-5+lenny5

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