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

medium Nessus Plugin ID 33492
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 4

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

Temporal Vector: E:ND/RL:OF/RC:C

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

DSA: 1608

CWE: 264