Back to CVE catalog
CVE-2005-0709

MySQL CREATE FUNCTION privilege escalation

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

4.6Medium
Published:
Updated:
EPSS:
18.44%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:mysqlmysqlAffected versions:
4.1.0Show full version range for mysql
4.1.104.1.3
Vendor:oraclemysqlAffected versions:
3.23.49Show full version range for mysql
4.0.04.0.14.0.104.0.114.0.124.0.134.0.144.0.154.0.184.0.24.0.204.0.214.0.234.0.34.0.44.0.54.0.5a4.0.64.0.74.0.84.0.94.1.04.1.24.1.34.1.44.1.5

1–2 of 2 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary4.6 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:P/I:P/A:P
nvd · Wazuh CTI (cna)4.6 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:P/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories19

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences