PROBLEM: | It was discovered that MySQL, a widely-deployed database server, did not properly validate optional data or index directory paths given in a CREATE TABLE statement, no would it (under proper conditions) prevent two databases from using the same paths for data or index files. |
PLATFORM: | Debian GNU/Linux 4.0 (etch) |
DAMAGE: | Authorization bypass. |
SOLUTION: | Upgrade to the appropriate version. |
VULNERABILITY ASSESSMENT: |
The risk is LOW. This permits an authenticated user with authoriziation to create tables in one database to read, write or delete data from tables subsequently created in other databases, regardless of other GRANT authorizations. |
CVSS 2 BASE SCORE: TEMPORAL SCORE: VECTOR: |
3.2 2.6 (AV:L/AC:L/Au:S/C:P/I:P/A:N/E:F/RL:OF/RC:C) |
LINKS: | |
CIAC BULLETIN: | http://www.ciac.org/ciac/bulletins/s-346.shtml |
ORIGINAL BULLETIN: | http://www.debian.org/security/2008/dsa-1608 |
CVE: | CVE-2008-2079 |
[***** Start Debian Security Advisory DSA-1608-1 *****]
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.
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.
We recommend that you upgrade your mysql-dfsg-5.0 packages.
MD5 checksums of the listed files are available in the original advisory.
[***** End Debian Security Advisory DSA-1608-1 *****]
Voice: +1 925-422-8193 (7 x 24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org