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
Original Advisory: MySQL Bug #27884:
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 email@example.com
Subject: MySQL HTML Output Script Insertion Security Issue
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.