Two vulnerabilities have been discovered in phpMyAdmin, which can be exploited by malicious people to conduct cross-site scripting attacks and execute arbitrary SQL code.
1) Input passed to the "sql_query" parameter in sql.php is not properly sanitised before being used. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site or execute arbitrary SQL code by tricking an administrative user into following a specially crafted link while being logged in.
The vulnerability has been confirmed in version 22.214.171.124 and has also been reported in version 2.7.0-pl1. Other versions may also be affected.
2) Input passed to the "lang" parameter in index.php isn't properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
The vulnerability has been confirmed in version 126.96.36.199 and has also been reported in prior versions for the 2.8.0 branch.
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: phpMyAdmin Cross-Site Scripting and SQL Code Execution
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.