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

Medium Nessus Plugin ID 33492

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 6.3

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: 2008/07/15

Updated: 2021/01/04

Dependencies: 12634

Risk Information

Risk Factor: Medium

VPR Score: 6.3

CVSS v2.0

Base Score: 4.6

Temporal Score: 4

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

Temporal Vector: CVSS2#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 Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2008/07/13

Reference Information

CVE: CVE-2008-2079

BID: 29106

DSA: 1608

CWE: 264