Executive Summary

Summary
TitleNew mysql packages fix insecure temporary file creation
Informations
NameDSA-483First vendor Publication2004-04-14
VendorDebianLast vendor Modification2004-04-14
Severity (Vendor) N/ARevision1

Security-Database Scoring CVSS v2

Cvss vector : (AV:L/AC:L/Au:N/C:N/I:P/A:N)
Cvss Base Score2.1Attack RangeLocal
Cvss Impact Score2.9Attack ComplexityLow
Cvss Expoit Score3.9AuthentificationNone Required
Calculate full CVSS 2.0 Vectors scores

Detail

Two vulnerabilities have been discovered in mysql, a common database system. Two scripts contained in the package don't create temporary files in a secure fashion. This could allow a local attacker to overwrite files with the privileges of the user invoking the MySQL server, which is often the root user. The Common Vulnerabilities and Exposures identifies the following problems:

CAN-2004-0381

The script mysqlbug in MySQL allows local users to overwrite arbitrary files via a symlink attack.

CAN-2004-0388

The script mysqld_multi in MySQL allows local users to overwrite arbitrary files via a symlink attack.

For the stable distribution (woody) these problems have been fixed in version 3.23.49-8.6.

For the unstable distribution (sid) these problems will be fixed in version 4.0.18-6 of mysql-dfsg.

We recommend that you upgrade your mysql, mysql-dfsg and related packages.

Original Source

Url : http://www.debian.org/security/2004/dsa-483

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:11557
 
Oval ID: oval:org.mitre.oval:def:11557
Title: mysqlbug in MySQL allows local users to overwrite arbitrary files via a symlink attack on the failed-mysql-bugreport temporary file.
Description: mysqlbug in MySQL allows local users to overwrite arbitrary files via a symlink attack on the failed-mysql-bugreport temporary file.
Family: unix Class: vulnerability
Reference(s): CVE-2004-0381
Version: 5
Platform(s): Red Hat Enterprise Linux 3
CentOS Linux 3
Product(s):
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:10559
 
Oval ID: oval:org.mitre.oval:def:10559
Title: The mysqld_multi script in MySQL allows local users to overwrite arbitrary files via a symlink attack.
Description: The mysqld_multi script in MySQL allows local users to overwrite arbitrary files via a symlink attack.
Family: unix Class: vulnerability
Reference(s): CVE-2004-0388
Version: 5
Platform(s): Red Hat Enterprise Linux 3
CentOS Linux 3
Product(s):
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application76

Open Source Vulnerability Database (OSVDB)

idDescription
6421MySQL mysqld_multi Symlink Arbitrary File Overwrite
6420MySQL mysqlbug Symlink Arbitrary File Overwrite