Secunia Logo  


Secunia PSI WorldMap
 
phpMyAdmin Cross-Site Scripting and SQL Code Execution
Secunia Advisory: SA19659
Release Date: 2006-04-17
Last Update: 2006-05-22
Popularity: 12,437 views

Critical:
Less critical
Impact: Security Bypass
Cross Site Scripting
Where: From remote
Solution Status: Vendor Patch

Software:phpMyAdmin 1.x
phpMyAdmin 2.x

Secunia CVSS-2 Score: Available in Secunia business solutions

Subscribe: Instant alerts on relevant vulnerabilities


Advisory Content (Page 1 of 3)[ 1 ] [ 2 ] [ 3 ]

Description:
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.

Example:
http://[host]/sql.php?lang=de-utf-8&server=1&collation_connection=utf8_general_ci&db=[database]&table=fu&goto=tbl_properties_structure.php&back=tbl_properties_structure.php&sql_query=[code]

The vulnerability has been confirmed in version 2.8.0.3 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 2.8.0.3 and has also been reported in prior versions for the 2.8.0 branch.

Change Page:
[ 1 ] [ 2 ] [ 3 ]



Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java JDK / JRE Multiple Vulnerabilities // 43 views
2. Internet Explorer Charset Inheritance Cross-Site Scripting Vulnerability // 31 views
3. Adobe Flash Player Multiple Vulnerabilities // 30 views
4. Adobe Reader/Acrobat Multiple Vulnerabilities // 26 views
5. Microsoft Windows Win32k Kernel-Mode Driver Multiple Vulnerabilities // 24 views
6. Internet Explorer 7 Window Injection Vulnerability // 14 views
7. Mozilla Firefox Multiple Vulnerabilities // 14 views
8. Google Chrome Two Vulnerabilities // 12 views
9. Microsoft XML Core Services Multiple Vulnerabilities // 10 views
10. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 9 views