winetricks 'x_showmenu.txt' Insecure Temporary File Creation Vulnerability

BID:33474

Info

winetricks 'x_showmenu.txt' Insecure Temporary File Creation Vulnerability

Bugtraq ID: 33474
Class: Design Error
CVE: CVE-2009-0313
Remote: No
Local: Yes
Published: Jan 27 2009 12:00AM
Updated: Feb 18 2009 10:37PM
Credit: Stefan Nordhausen
Vulnerable: S.u.S.E. openSUSE 11.1
S.u.S.E. openSUSE 11.0
Dan Kegel winetricks 20081217
Not Vulnerable: Dan Kegel winetricks 20081223

Discussion

winetricks 'x_showmenu.txt' Insecure Temporary File Creation Vulnerability

The 'winetricks' script creates a temporary file in an insecure manner.

An attacker with local access could perform symbolic-link attacks, overwriting arbitrary files in the context of the affected application.

Successfully mounting a symlink attack may allow the attacker to delete or corrupt sensitive files, which may result in a denial of service. Other attacks may also be possible.

Versions prior to winetricks 20081223 are vulnerable.

Exploit / POC

winetricks 'x_showmenu.txt' Insecure Temporary File Creation Vulnerability

An attacker uses readily available commands to launch attacks.

Solution / Fix

winetricks 'x_showmenu.txt' Insecure Temporary File Creation Vulnerability

Solution:
The vendor has released an updated version; please see the references for more information.

References

winetricks 'x_showmenu.txt' Insecure Temporary File Creation Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report