Bug 1386138 (CVE-2005-0004) - CVE-2005-0004 mysql: CVE-2005-0004 mysqlaccess creates/overwrite files on the system
Summary: CVE-2005-0004 mysql: CVE-2005-0004 mysqlaccess creates/overwrite files on the...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2005-0004
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1385047
TreeView+ depends on / blocked
 
Reported: 2016-10-18 09:23 UTC by Cedric Buissart
Modified: 2019-09-29 13:58 UTC (History)
27 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-10-18 09:25:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Cedric Buissart 2016-10-18 09:23:54 UTC
CVE-2005-0004 allows an unprivileged local attacker to create/overwrite files on the machine with the privilege of the user running the mysqlaccess script (e.g.: usually a database administrator or root).
mysqlaccess uses a predictable file naming in /tmp to store temporary data. An attacker could create a symlink with a similar name, pointing elsewhere on the file system structure.

Upstream patch :
http://lists.mysql.com/internals/20600

mitre.org info on the CVE:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=can-2005-0004

Affected versions : MySQL 4.0.23 and earlier, 4.1.x before 4.1.10, 5.0.x before 5.0.3, and other versions including 3.x

Versions shipped in Red Hat are not affected, since they are either using the patched version of mysqlaccess, or are not shipping mysqlaccess script.


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