CSRF Vulnerability in phpMyAdmin 4.0.x - 4.4.x Leading to Configuration Hijacking

phpmyadmin Updated 03 Oct 2025

Summary

26/05/2015
N/A
No i
Unrated
Not published

UBUNTU-CVE-2015-3902: Multiple cross-site request forgery (CSRF) vulnerabilities in the setup process in phpMyAdmin 4.0.x before 4.0.10.10, 4.2.x before 4.2.13.3, 4.3.x before 4.3.13.1, and 4.4.x before 4.4.6.1 allow remote attackers to hijac... Affects phpmyadmin versions 4:4.0.10-1 – 4:4.0.9-1. No fix is published. 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 written in PHP, designed to handle the administration of MySQL databases through a web interface. It allows users to perform various database operations such as creating, modifying, and deleting databases, tables, and rows. The tool is popular among developers and database administrators for its ease of use and extensive features. However, certain versions of phpMyAdmin are vulnerable to cross-site request forgery (CSRF) attacks, which can compromise the security of the application and its users.

Vulnerability Detail

Multiple cross-site request forgery (CSRF) vulnerabilities exist in the setup process of phpMyAdmin versions 4.0.x before 4.0.10.10, 4.2.x before 4.2.13.3, 4.3.x before 4.3.13.1, and 4.4.x before 4.4.6.1. These vulnerabilities allow remote attackers to hijack the authentication of administrators for requests that modify the configuration file. This can lead to unauthorized changes in the database configuration, potentially exposing sensitive data or allowing further exploitation of the system.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can implement CSRF tokens in their forms to mitigate the risk of CSRF attacks. This involves generating a unique token for each session and validating it upon form submission. However, this is not a substitute for updating to a secure version.

Conclusion

The CSRF vulnerability in phpMyAdmin versions 4.0.x through 4.4.x poses a significant risk to database security. It is crucial for users to update their installations to the latest patched versions to safeguard against potential attacks. Implementing additional security measures, such as CSRF tokens, can provide further protection.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

Cross-Site Request Forgery (CSRF) is a type of attack that tricks the victim into submitting a request that they did not intend to make, potentially leading to unauthorized actions.

You can check your phpMyAdmin version and compare it against the vulnerable versions listed. Additionally, you can use tools like Vulert to monitor and alert for vulnerabilities.

If exploited, this vulnerability can allow attackers to hijack administrative sessions, modify database configurations, and potentially expose sensitive data.

While the best solution is to update to a patched version, implementing CSRF tokens can provide a temporary mitigation.

Detailed information can be found in the official security notices and vulnerability databases, such as the one provided by Canonical.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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