CVE-2022-0813: Exposure of Sensitive Information in PhpMyAdmin

phpmyadmin/phpmyadmin Updated 02 Oct 2025

Summary

11/03/2022
Yes i
High
7.5

CVE-2022-0813: Exposure of Sensitive Information to an Unauthorized Actor in PhpMyAdmin. Affects phpmyadmin/phpmyadmin versions < 5.1.3. Fixed in 5.1.3. How to fix ↓

Also tracked for

The same CVE-2022-0813 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 popular web-based administration tool for managing MySQL and MariaDB databases. It provides a user-friendly interface for performing various database operations such as creating, modifying, and deleting databases, tables, and records. PhpMyAdmin is widely used by developers and administrators to interact with their databases efficiently. However, a vulnerability has been discovered in PhpMyAdmin versions prior to 5.1.3 that allows an attacker to retrieve potentially sensitive information by exploiting certain parameters and cookies.

Vulnerability Detail

The vulnerability in PhpMyAdmin arises from the mishandling of requests. By creating invalid requests and manipulating the 'lang' parameter, 'pma_parameter', or the cookie section, an unauthorized actor can gain access to sensitive information. This information could include database credentials, user data, or any other data stored within the database. The impact of this vulnerability can be severe, as it can lead to unauthorized access, data leakage, and potential compromise of the entire database.

How To Fix

Minimum fixed version

5.1.3

This is the first release that contains the fix.

composer require phpmyadmin/phpmyadmin:5.1.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading to the latest version is not immediately feasible, a temporary workaround is to restrict access to PhpMyAdmin by implementing additional security measures such as IP whitelisting, firewall rules, or using a VPN to limit access to trusted networks. Additionally, it is crucial to monitor the application logs for any suspicious activity and regularly review database access logs for unauthorized access attempts.

Conclusion

PhpMyAdmin versions prior to 5.1.3 are vulnerable to an exposure of sensitive information issue. Upgrading to the latest version is the recommended solution to fix this vulnerability. In the meantime, implementing additional security measures and monitoring for suspicious activity can help mitigate the risk. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for phpmyadmin/phpmyadmin →

Share this vulnerability

FAQ

PhpMyAdmin is a web-based administration tool for managing MySQL and MariaDB databases. It provides a user-friendly interface for performing various database operations.

The vulnerability allows an attacker to retrieve sensitive information from the PhpMyAdmin application, potentially leading to unauthorized access, data leakage, and compromise of the database.

To fix this vulnerability, it is recommended to upgrade PhpMyAdmin to version 5.1.3 or later. This will ensure that the vulnerability is patched and the application is secure.

If immediate upgrading is not possible, you can restrict access to PhpMyAdmin by implementing additional security measures such as IP whitelisting, firewall rules, or using a VPN to limit access to trusted networks.

To monitor for unauthorized access attempts, it is important to regularly review the application logs for any suspicious activity and keep an eye on the database access logs.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin/phpmyadmin.

How To Fix

Minimum fixed version

5.1.3

This is the first release that contains the fix.

composer require phpmyadmin/phpmyadmin:5.1.3

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