Skip to content
OpenAdvisories
Unscored Public exploit CVE-2008-4456 EUVD-2008-4437GHSA-wwgr-xr73-wm3j

Cross-site scripting (XSS) vulnerability in the command-line client in MySQL 5.0.26 through 5.0.45, and other versions including versions l…

Published Oct 6, 2008 · Updated Aug 7, 2024 · Assigned by mitre

Description

Cross-site scripting (XSS) vulnerability in the command-line client in MySQL 5.0.26 through 5.0.45, and other versions including versions later than 5.0.45, when the --html option is enabled, allows attackers to inject arbitrary web script or HTML by placing it in a database cell, which might be accessed by this client when composing an HTML document. NOTE: as of 20081031, the issue has not been fixed in MySQL 5.0.67.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 mysql-dfsg-5.0 5.0.51a-24+lenny1 DSA-1783-1
Debian 4.0 mysql-dfsg-5.0 5.0.32-7etch10 DSA-1783-1
ReleasePackageFixed inAdvisory
RHEL 5 mysql +4 5.0.77-3.el5 RHSA-2009:1289
RHEL 4 mysql +3 4.1.22-2.el4_8.3 RHSA-2010:0110
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Application Stack 2 httpd +2 2.2.13-2.el5s2 RHSA-2009:1461
Red Hat Rhel Application Stack 2 mod_ssl 1:2.2.13-2.el5s2 RHSA-2009:1461
Red Hat Rhel Application Stack 2 mysql +6 5.0.84-2.el5s2 RHSA-2009:1461
Red Hat Rhel Application Stack 2 perl-DBD-MySQL 4.012-1.el5s2 RHSA-2009:1461
Red Hat Rhel Application Stack 2 perl-DBI 1.609-1.el5s2 RHSA-2009:1461
Red Hat Rhel Application Stack 2 php +18 5.2.10-1.el5s2 RHSA-2009:1461
Red Hat Rhel Application Stack 2 php-pear 1:1.8.1-2.el5s2 RHSA-2009:1461
Red Hat Rhel Application Stack 2 postgresql +11 8.2.14-1.el5s2 RHSA-2009:1461
Red Hat Rhel Application Stack 2 postgresql-jdbc 8.2.510-1jpp.el5s2 RHSA-2009:1461

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 4

References