CVE-2016-2562: phpMyAdmin Improper Input Validation

phpmyadmin/phpmyadmin Updated 02 Oct 2025

Summary

17/05/2022
Yes i
Moderate
6.8

CVE-2016-2562: phpMyAdmin Improper Input Validation. Affects phpmyadmin/phpmyadmin versions >= 4.5, < 4.5.5.1. Fixed in 4.5.5.1. How to fix ↓

Also tracked for

The same CVE-2016-2562 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

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

phpMyAdmin is a popular open-source tool for managing MySQL databases. It provides a web-based interface that allows users to perform various database management tasks. The vulnerability in question affects phpMyAdmin version 4.5.x before 4.5.5.1. This version of phpMyAdmin does not properly validate X.509 certificates from api.github.com SSL servers, making it susceptible to man-in-the-middle attacks. Attackers can exploit this vulnerability to spoof these servers and obtain sensitive information by using a crafted certificate.

Vulnerability Detail

The vulnerability arises from the lack of X.509 certificate validation in the checkHTTP function of the libraries/Config.class.php file in phpMyAdmin. This allows attackers to intercept the communication between phpMyAdmin and api.github.com, posing as the legitimate server. By doing so, they can gain unauthorized access to sensitive information exchanged during the communication. This can include credentials, database contents, or any other data transmitted between the two entities. The impact of this vulnerability can be significant, as it compromises the confidentiality and integrity of the data being transmitted.

How To Fix

Minimum fixed version

4.5.5.1

This is the first release that contains the fix.

composer require phpmyadmin/phpmyadmin:4.5.5.1

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

Workaround

If updating phpMyAdmin is not immediately feasible, a temporary workaround is to disable the use of the GitHub API in the phpMyAdmin configuration. This can be achieved by modifying the configuration file to remove or comment out any references to the GitHub API. However, this workaround may limit certain functionalities that rely on the GitHub API integration.

Conclusion

The vulnerability in phpMyAdmin version 4.5.x before 4.5.5.1 allows man-in-the-middle attackers to obtain sensitive information by spoofing api.github.com SSL servers. To mitigate this vulnerability, it is recommended to update phpMyAdmin to version 4.5.5.1 or later. Alternatively, a temporary workaround is available by disabling the use of the GitHub API in the phpMyAdmin configuration. 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 an open-source tool for managing MySQL databases. It provides a web-based interface that allows users to perform various database management tasks.

The vulnerability affects phpMyAdmin version 4.5.x before 4.5.5.1.

The vulnerability allows man-in-the-middle attackers to spoof api.github.com SSL servers and obtain sensitive information exchanged during the communication between phpMyAdmin and the server.

To fix this vulnerability, update phpMyAdmin to version 4.5.5.1 or later.

Yes, a temporary workaround is to disable the use of the GitHub API in the phpMyAdmin configuration.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin/phpmyadmin.

How To Fix

Minimum fixed version

4.5.5.1

This is the first release that contains the fix.

composer require phpmyadmin/phpmyadmin:4.5.5.1

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