Bug 152344 - CAN-2005-0711 Insecure temporary file creation with CREATE TEMPORARY TABLE
CAN-2005-0711 Insecure temporary file creation with CREATE TEMPORARY TABLE
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: mysql (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Tom Lane
David Lawrence
: Security
: 151681 151734 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2005-03-28 13:41 EST by Josh Bressers
Modified: 2013-07-02 23:04 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-03-28 14:44:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Josh Bressers 2005-03-28 13:41:23 EST
+++ This bug was initially created as a clone of Bug #150868 +++

Description of problem:
If an authenticated user has CREATE TEMPORARY TABLE privileges on any
existent database, a symlink attack is possible. 

Reported to vulnwatch.org by Stefano Di Paola on 11 Mar 2005

Version-Release number of selected component (if applicable):

How reproducible:
Requires some luck to guess name that will be used for temp file,
but unfortunately that's fairly predictable.

Steps to Reproduce:
1.  See vulnwatch report.

Additional info:
This is fixed in 4.1.10a, which we should upgrade to anyway as it
contains numerous other bug fixes.
Comment 1 Josh Bressers 2005-03-28 13:47:14 EST
This issue affects RHEL3 and RHEL2.1 (mysql3)
Comment 2 Josh Bressers 2005-03-28 13:52:17 EST
*** Bug 151681 has been marked as a duplicate of this bug. ***
Comment 3 Josh Bressers 2005-03-28 13:53:14 EST
*** Bug 151734 has been marked as a duplicate of this bug. ***
Comment 4 Josh Bressers 2005-03-28 14:44:51 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

Comment 5 foobarra 2005-03-30 08:36:48 EST
The errata release is incomplete for RHEL-3, and does not include a patched
mysql-server package...
Comment 6 Mark J. Cox 2005-03-30 08:45:33 EST
On RHEL3, mysql-server is part of "Extras", see bug 152437 for tracking.

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