Skip to content
OpenAdvisories
Unscored Public exploit CVE-2006-1516 EUVD-2006-1520GHSA-8q78-357r-r6m7

The check_connection function in sql_parse.cc in MySQL 4.0.x up to 4.0.26, 4.1.x up to 4.1.18, and 5.0.x up to 5.0.20 allows remote attacke…

Published May 5, 2006 · Updated Aug 7, 2024 · Assigned by debian

Description

The check_connection function in sql_parse.cc in MySQL 4.0.x up to 4.0.26, 4.1.x up to 4.1.18, and 5.0.x up to 5.0.20 allows remote attackers to read portions of memory via a username without a trailing null byte, which causes a buffer over-read.

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 3.1 mysql-dfsg 4.0.24-10sarge2 DSA-1079-1
Debian 3.1 mysql-dfsg-4.1 4.1.11a-4sarge3 DSA-1073-1
Debian 3.0 mysql 3.23.49-8.15 DSA-1071-1
ReleasePackageFixed inAdvisory
RHEL 4 mysql +3 4.1.20-1.RHEL4.1 RHSA-2006:0544

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