Cross-Site Scripting Vulnerabilities in phpMyAdmin: CVE-2011-3592
Summary
CVE-2011-3592: Multiple cross-site scripting (XSS) vulnerabilities in the PMA_unInlineEditRow function in js/sql.js in phpMyAdmin 3.4.x before 3.4.5 allow remote authenticated users to inject arbitrary web script or HTML via a (1) data... Affects phpmyadmin versions < 4:3.4.5-1. Fixed in 4:3.4.5-1. 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 widely used open-source tool for managing MySQL databases through a web interface. It provides features such as database management, table creation, and user management, making it a critical component for developers and database administrators. However, certain versions of phpMyAdmin, specifically 3.4.x before 3.4.5, are vulnerable to multiple cross-site scripting (XSS) attacks, which can compromise the security of applications relying on this tool.
Vulnerability Detail
CVE-2011-3592 arises from the PMA_unInlineEditRow function in js/sql.js, where remote authenticated users can exploit XSS vulnerabilities by injecting arbitrary web scripts or HTML through improperly handled inputs such as database names, table names, or column names during inline-editing operations. This vulnerability can lead to unauthorized actions being performed on behalf of the user, potentially exposing sensitive data or compromising the integrity of the database.
How To Fix
Minimum fixed version
4:3.4.5-1
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
If an immediate upgrade is not feasible, consider restricting access to the phpMyAdmin interface to trusted IP addresses only. This can be achieved by configuring the web server to allow access based on IP address, thereby reducing the risk of exploitation.
Conclusion
CVE-2011-3592 is a significant vulnerability in phpMyAdmin that can lead to serious security issues if not addressed. Upgrading to the latest version is crucial for maintaining the integrity and security of database management operations. Additionally, using tools like Vulert can help monitor and alert for open-source vulnerabilities in your software.
See every vulnerability recorded for phpmyadmin →
FAQ
CVE-2011-3592 is a vulnerability in phpMyAdmin that allows remote authenticated users to perform cross-site scripting attacks through improperly handled database, table, or column names.
phpMyAdmin versions 3.4.x before 3.4.5 are affected by this vulnerability.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Exploitation of this vulnerability can lead to unauthorized actions, data exposure, and compromise of user sessions, potentially allowing attackers to manipulate database content.
Yes, you can restrict access to the phpMyAdmin interface to trusted IP addresses as a temporary measure to mitigate the risk.
Related vulnerabilities
Recent vulnerabilities recorded for phpmyadmin.