Debian DSA-1608-1 : mysql-dfsg-5.0 - authorization bypass

medium Nessus Plugin ID 33492

Synopsis

The remote Debian host is missing a security-related update.

Description

Sergei Golubchik discovered that MySQL, a widely-deployed database server, did not properly validate optional data or index directory paths given in a CREATE TABLE statement, nor would it (under proper conditions) prevent two databases from using the same paths for data or index files. This permits an authenticated user with authorization to create tables in one database to read, write or delete data from tables subsequently created in other databases, regardless of other GRANT authorizations. The Common Vulnerabilities and Exposures project identifies this weakness as CVE-2008-2079.

Solution

Upgrade the mysql-dfsg-5.0 packages.

For the stable distribution (etch), this problem has been fixed in version 5.0.32-7etch6. Note that the fix applied will have the consequence of disallowing the selection of data or index paths under the database root, which on a Debian system is /var/lib/mysql;
database administrators needing to control the placement of these files under that location must do so through other means.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480292

https://security-tracker.debian.org/tracker/CVE-2008-2079

https://www.debian.org/security/2008/dsa-1608

Plugin Details

Severity: Medium

ID: 33492

File Name: debian_DSA-1608.nasl

Version: 1.16

Type: local

Agent: unix

Published: 7/15/2008

Updated: 1/4/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 4

Vector: CVSS2#AV:N/AC:H/Au:S/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:mysql-dfsg-5.0, cpe:/o:debian:debian_linux:4.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 7/13/2008

Reference Information

CVE: CVE-2008-2079

BID: 29106

CWE: 264

DSA: 1608