Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA19659

phpMyAdmin Cross-Site Scripting and SQL Code Execution
Secunia Advisory SA19659
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2006-04-17
Last Update 2006-05-22
   
Popularity 14,772 views
Comments 0 comments

Criticality level Less criticalLess critical
Impact Security Bypass
Cross Site Scripting
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Vendor Patch
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Software:
phpMyAdmin 1.x
phpMyAdmin 2.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2006-1803 CVSS available in Customer Area
CVE-2006-1804 CVSS available in Customer Area
CVE-2006-2031 CVSS available in Customer Area
  

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.


Solution
Update to version 2.8.1.
Further details available in Customer Area

Provided and/or discovered by
1) p0w3r
2) r0t

Changelog
Further details available in Customer Area

Original Advisory
1) http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2006-3
2) http://pridels.blogspot.com/2006/04/phpmyadmin-xss-vuln.html

Deep Links
Links available in Customer Area


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 vuln@secunia.com

Subject: phpMyAdmin Cross-Site Scripting and SQL Code Execution
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability