CVE-2016-6624: phpMyAdmin IPv6 and proxy server IP-based authentication rule circumvention
Summary
CVE-2016-6624: phpMyAdmin IPv6 and proxy server IP-based authentication rule circumvention. Affects phpmyadmin/phpmyadmin across 3 version ranges.
>= 4.0, < 4.0.10.17
>= 4.4, < 4.4.15.8
>= 4.6, < 4.6.4
Fixed in 4.0.10.17, 4.4.15.8 or 4.6.4, depending on the release line you run. How to fix ↓
Also tracked for
- phpmyadmin · Alpine:v3.2
The same CVE-2016-6624 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
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.
No signup required · Results in about 60 seconds
Background
phpMyAdmin is a popular open-source administration tool for managing MySQL databases. It provides a web-based interface that allows users to perform various database management tasks. The tool is widely used by developers, database administrators, and website owners to interact with their MySQL databases. However, a vulnerability has been discovered in phpMyAdmin that allows for the circumvention of IP-based authentication rules when used with IPv6 in a proxy server environment.
Vulnerability Detail
The vulnerability arises from the improper enforcement of IP-based authentication rules in phpMyAdmin. In a scenario where phpMyAdmin is configured to use IPv6 in a proxy server environment, and the proxy server is within the allowed IP range but the attacking computer is not allowed, this vulnerability can be exploited to allow the attacking computer to connect despite the IP rules. This vulnerability affects all versions of phpMyAdmin 4.6.x (prior to 4.6.4), 4.4.x (prior to 4.4.15.8), and 4.0.x (prior to 4.0.10.17). The severity of this vulnerability is rated as MODERATE with a CVSS score of 5.9.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
>= 4.0, < 4.0.10.174.0.10.17composer require phpmyadmin/phpmyadmin:4.0.10.17 -
>= 4.4, < 4.4.15.84.4.15.8composer require phpmyadmin/phpmyadmin:4.4.15.8 -
>= 4.6, < 4.6.44.6.4composer require phpmyadmin/phpmyadmin:4.6.4
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
If updating phpMyAdmin is not immediately feasible, a temporary workaround is to disable IPv6 support in the proxy server environment. By disabling IPv6, the vulnerability can be mitigated as the proxy server will no longer handle IPv6 connections. However, this workaround may not be suitable for all environments and should be thoroughly tested before implementation.
Conclusion
In conclusion, phpMyAdmin is vulnerable to an IP-based authentication rule circumvention when used with IPv6 in a proxy server environment. This vulnerability can allow unauthorized access to the administration tool. It is recommended to update phpMyAdmin to the latest patched version or disable IPv6 support in the proxy server environment as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for phpmyadmin/phpmyadmin →
FAQ
phpMyAdmin is an open-source administration tool for managing MySQL databases. It provides a web-based interface for performing various database management tasks.
IP-based authentication is a security mechanism that allows or denies access to a system based on the IP address of the connecting device. In the case of phpMyAdmin, it is used to control access to the administration tool based on the IP address of the client.
This vulnerability allows for the circumvention of IP-based authentication rules in phpMyAdmin when used with IPv6 in a proxy server environment. An attacking computer can connect to phpMyAdmin despite not being allowed based on the IP rules.
All versions of phpMyAdmin 4.6.x (prior to 4.6.4), 4.4.x (prior to 4.4.15.8), and 4.0.x (prior to 4.0.10.17) are affected by this vulnerability.
The severity of this vulnerability is rated as MODERATE with a CVSS score of 5.9.
Related vulnerabilities
Recent vulnerabilities recorded for phpmyadmin/phpmyadmin.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.