Lucene search

K

MySQL 5 - Command Line Client HTML Special Characters HTML Injection

🗓️ 30 Sep 2008 00:00:00Reported by Thomas HenlichType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 27 Views

MySQL 5 Command Line Client HTML Injection Vulnerabilit

Show more
Related
Code
source: https://www.securityfocus.com/bid/31486/info

MySQL is prone to an HTML-injection vulnerability because the application's command-line client fails to properly sanitize user-supplied input before using it in dynamically generated content.

Attacker-supplied HTML and script code would run in the context of the affected browser, potentially allowing the attacker to steal cookie-based authentication credentials or to control how the site is rendered to the user. Other attacks are also possible.

$ mysql --html --execute "select &#039;<a>&#039;" ... <TABLE BORDER=1><TR><TH><a></TH></TR><TR><TD><a></TD></TR></TABLE>

Transform Your Security Services

Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.

Book a live demo