RCE in MySQL
CVE-2005-0709
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.6 (Medium). Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.178, 97.2th percentile (scored ); down from 0.184 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.184 · newest: 0.178 · change: -0.006
Affected products
- MySQL — versions 4.1.0, 4.1.3, 4.1.10
- Oracle MySQL — versions 3.23.49, 4.0.0, 4.0.1
Weakness classification (CWE)
References
- 2005-0009 (vendor-advisory, Patch)
- DSA-707 (vendor-advisory, Patch)
- 20050310 Mysql CREATE FUNCTION libc arbitrary code execution. (mailing-list)
- 20050310 Mysql CREATE FUNCTION libc arbitrary code execution. (mailing-list, Exploit)
- RHSA-2005:334 (vendor-advisory)
- sunsolve.sun.com/search/document.do (vendor-advisory)
- SUSE-SA:2005:019 (vendor-advisory, Patch)
- USN-96-1 (vendor-advisory)
- RHSA-2005:348 (vendor-advisory)
- APPLE-SA-2005-08-15 (vendor-advisory)