Skip to content
OpenAdvisories
Unscored Public exploit CVE-2005-0709 EUVD-2005-0710GHSA-3x8w-p58r-45ff

MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, allows remote authenticated users with INSERT and DELETE privileges to execute arbitrary …

Published Mar 11, 2005 · Updated Aug 7, 2024 · Assigned by redhat

Description

MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, allows remote authenticated users with INSERT and DELETE privileges to execute arbitrary code by using CREATE FUNCTION to access libc calls, as demonstrated by using strcat, on_exit, and exit.

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.0 mysql 3.23.49-8.11 DSA-707-1
ReleasePackageFixed inAdvisory
RHEL 4 mysql +3 4.1.10a-1.RHEL4.1 RHSA-2005:334
RHEL 3 mysql +2 3.23.58-15.RHEL3.1 RHSA-2005:334

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 2

References