Security Update for phpmyadmin
Summary
DLA-626-1: phpmyadmin - security update. Affects phpmyadmin versions < 4:3.4.11.1-2+deb7u6. Fixed in 4:3.4.11.1-2+deb7u6. How to fix ↓
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 web administration tool for managing MySQL databases. It provides a user-friendly interface for performing various database operations such as creating, modifying, and deleting databases, tables, and records. This tool is widely used by developers and administrators to simplify the management of MySQL databases. However, several vulnerabilities have been discovered in phpMyAdmin, which could potentially compromise the security of the system.
Vulnerability Detail
The vulnerabilities in phpMyAdmin include:
-
CVE-2016-6606: This vulnerability allows an attacker with access to a user's browser cookie file to decrypt the username and password. It is caused by a weakness in the encryption of the username/password stored in the phpMyAdmin cookie.
-
CVE-2016-6607: This vulnerability is a cross-site scripting (XSS) vulnerability in the replication feature of phpMyAdmin.
-
CVE-2016-6609: A specially crafted database name can be used to run arbitrary PHP commands through the array export feature.
-
CVE-2016-6611: A specially crafted database or table name can trigger an SQL injection attack through the SQL export functionality.
-
CVE-2016-6612: The LOAD LOCAL INFILE functionality can be exploited by a user to expose files on the server to the database system.
-
CVE-2016-6613: A user can create a symlink on disk to a file that phpMyAdmin is permitted to read but the user is not, thereby exposing the file to the user.
-
CVE-2016-6614: The %u username replacement functionality of the SaveDir and UploadDir features can be circumvented by a specially-crafted username, allowing traversal of the file system.
-
CVE-2016-6620: Some data passed to the PHP unserialize() function without verification can result in code execution, potentially leading to remote code execution.
-
CVE-2016-6622: An unauthenticated user can execute a denial-of-service attack by forcing persistent connections when phpMyAdmin is running with $cfg['AllowArbitraryServer']=true.
-
CVE-2016-6623: A malicious authorized user can cause a denial-of-service attack on a server by passing large values to a loop.
-
CVE-2016-6624: Under certain circumstances, it is possible to circumvent the phpMyAdmin IP-based authentication rules, allowing unauthorized access.
-
CVE-2016-6630: An authenticated user can trigger a denial-of-service attack by entering a very long password at the change password dialog.
-
CVE-2016-6631: A user can execute a remote code execution attack against a server when phpMyAdmin is run as a CGI application by passing a query string that is executed as a command-line argument by shell scripts.
How To Fix
Minimum fixed version
4:3.4.11.1-2+deb7u6
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 specific workarounds mentioned for these vulnerabilities. It is crucial to apply the security update as soon as possible to mitigate the risks associated with these vulnerabilities.
Conclusion
phpMyAdmin has been found to have multiple vulnerabilities that could potentially compromise the security of the system. It is crucial to upgrade to the latest version and apply the necessary security patches to mitigate these risks. For further assistance and support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for phpmyadmin →
FAQ
phpMyAdmin is a web-based tool for managing MySQL databases. It provides a graphical interface to perform various database operations.
An attacker with access to a user's browser cookie file can decrypt the username and password stored in the phpMyAdmin cookie, potentially gaining unauthorized access to the database.
CVE-2016-6611 allows an attacker to execute SQL injection attacks by using specially crafted database or table names through the SQL export functionality.
Yes, CVE-2016-6620 can result in remote code execution if a malicious user can manipulate the stored data in a way that exploits the unserialize() function in PHP.
To protect your system, it is recommended to upgrade phpMyAdmin to the latest version and apply any available security patches. Regularly monitor for updates and follow best practices for securing web applications.
Related vulnerabilities
Recent vulnerabilities recorded for phpmyadmin.