Bug 397091 (CVE-2007-5970) - CVE-2007-5970 mysql: table privilege gain via partitioned table with the same name
Summary: CVE-2007-5970 mysql: table privilege gain via partitioned table with the same...
Alias: CVE-2007-5970
Product: Security Response
Classification: Other
Component: vulnerability   
(Show other bugs)
Version: unspecified
Hardware: All Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Whiteboard: source=internet,reported=20071123,pub...
Keywords: Security
Depends On:
TreeView+ depends on / blocked
Reported: 2007-11-23 17:19 UTC by Tomas Hoger
Modified: 2007-12-13 08:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-12-13 08:34:19 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Tomas Hoger 2007-11-23 17:19:30 UTC
From the changelog of not yet released versions of MySQL:

Important Change: Partitioning: Security Fix: It was possible, by creating a
partitioned table using the DATA DIRECTORY and INDEX DIRECTORY options to gain
privileges on other tables having the same name as the partitioned table. As a
result of this fix, any table-level DATA DIRECTORY or INDEX DIRECTORY options
are now ignored for partitioned tables. (Bug#32091, CVE-2007-5970)

Mentioned in:

MySQL 5.1.23

MySQL 6.0.4

Referenced MySQL bug report is not public at the moment:

Comment 2 Tomas Hoger 2007-12-11 17:40:13 UTC
CVE description:


MySQL 5.1.x before 5.1.23 and 6.0.x before 6.0.4 allows remote
authenticated users to gain privileges on arbitrary tables via
unspecified vectors involving use of table-level DATA DIRECTORY and
INDEX DIRECTORY options when creating a partitioned table with the
same name as a table on which the user lacks privileges.


Upstream bug report remains private.

Comment 3 Tomas Hoger 2007-12-13 08:34:19 UTC
This issue did not affect mysql packages as shipped in Red Hat Enterprise Linux
2.1, 3, 4, and 5, Red Hat Application Stack v1 and v2 and Fedora, as versions
shipped do not support table partitioning.  Partitioning feature was introduced
in development MySQL version 5.1.

Note You need to log in before you can comment on or make changes to this bug.