phpmyadmin - CSRF Authentication Code Weakness

phpmyadmin Updated 02 Oct 2025

Summary

30/01/2016
N/A
Yes i
Unrated
Not published

DLA-406-1: phpmyadmin - security update. Affects phpmyadmin versions < 4:3.3.7-11. Fixed in 4:3.3.7-11. 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 popular web-based administration tool for managing MySQL databases. It provides a user-friendly interface to perform various tasks such as creating databases, managing tables, executing queries, and more. This vulnerability affects phpMyAdmin versions prior to 4.3.7-11 in Debian 6.0 ecosystem.

Vulnerability Detail

The CSRF (Cross-Site Request Forgery) authentication code in phpMyAdmin suffers from two weaknesses:

  1. CVE-2016-2039: The XSRF/CSRF token is generated using a weak algorithm that does not provide cryptographically secure values.

  2. CVE-2016-2041: The comparison of the XSRF/CSRF token parameter with the value saved in the session is vulnerable to timing attacks. Additionally, the comparison can be bypassed if the XSRF/CSRF token matches a specific pattern.

These vulnerabilities can allow an attacker to forge requests on behalf of authenticated users, potentially leading to unauthorized actions, data manipulation, or information disclosure.

How To Fix

Minimum fixed version

4:3.3.7-11

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 known workarounds for these vulnerabilities. It is crucial to apply the recommended fix by upgrading to the patched version of phpMyAdmin.

Conclusion

The CSRF authentication code weaknesses in phpMyAdmin can pose a significant security risk to installations running vulnerable versions. It is crucial to upgrade to the patched version (4.3.7-11 or later) to mitigate these vulnerabilities. For further support on vulnerability remediation, you can reach out to 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 an intuitive interface to perform various database management tasks.

CSRF (Cross-Site Request Forgery) is an attack that tricks the victim into submitting a malicious request. In the context of phpMyAdmin, it can lead to unauthorized actions performed by an attacker on behalf of an authenticated user.

These vulnerabilities can allow an attacker to perform unauthorized actions, manipulate data, or disclose sensitive information within the affected phpMyAdmin installation.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time alerts for open-source vulnerabilities.

You can obtain the patched version of phpMyAdmin (4.3.7-11 or later) from the official phpMyAdmin website or through the Debian package repositories.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin.

How To Fix

Minimum fixed version

4:3.3.7-11

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