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 SA32072

MySQL HTML Output Script Insertion Security Issue
Secunia Advisory SA32072
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2008-10-02
Last Update 2008-10-07
   
Popularity 6,061 views
Comments 0 comments

Criticality level Not criticalNot critical
Impact Cross Site Scripting
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Unpatched
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
Remediation status Secunia VIM
   
Software:
MySQL 5.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2008-4456 CVSS available in Customer Area
  

Description

Thomas Henlich has reported a security issue in MySQL, which can be exploited by malicious people to conduct script insertion attacks.

The security issue is caused due to the MySQL command line client not properly sanitising HTML output. This can be exploited to execute arbitrary HTML and script code in a MySQL user's browser session by e.g. tricking the user into generating and viewing the HTML output of malicious database entries.

Successful exploitation requires that the attacker can insert HTML or script code into the database and the victim generates HTML output of malicious data and views the resulting file in a browser.

The security issue is reported in versions 5.0.26, 5.0.37, and 5.0.45. Other versions may also be affected.


Solution
Do not generate HTML output for databases containing potentially untrusted values.

Provided and/or discovered by
Thomas Henlich

Changelog
Further details available in Customer Area

Original Advisory
MySQL Bug #27884:
http://bugs.mysql.com/bug.php?id=27884

Thomes Henlich:
http://www.henlich.de/it-security/mysql-command-line-client-html-injection-vulnerability/

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: MySQL HTML Output Script Insertion Security Issue
 
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