Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85387 - app-emulation/wine: Unsafe Temporary Files Disclose Registry Contents to Local Users
Summary: app-emulation/wine: Unsafe Temporary Files Disclose Registry Contents to Loca...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All All
: High minor
Assignee: Gentoo Security
URL: http://securitytracker.com/alerts/200...
Whiteboard: A4 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-15 11:55 UTC by Jean-François Brunette (RETIRED)
Modified: 2005-03-21 00:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-François Brunette (RETIRED) gentoo-dev 2005-03-15 11:55:05 UTC
Version(s): 20050211 and previous versions
Description:  A vulnerability was reported in Wine. A local user may be able to access the registry.

Wine creates temporary files in an unsafe manner. When a Win32-based application is launched by Wine, a copy of the registry is made in the '/tmp' directory. The file is created with globally readable permissions.

A local user can view the file to obtain the registry contents.

The filename is of the format 'regxxxxxxyyyy.tmp' [where the 'x' values are the process ID in haxadecimal representation and the 'y' values are an integer value that is often equal to zero].

Giovanni Delvecchio of Zone-h reported this vulnerability.
Impact:  A local user may be able to access the registry for a target user.
Solution:  No solution was available at the time of this entry.
Comment 1 Thierry Carrez (RETIRED) gentoo-dev 2005-03-15 13:05:20 UTC
Follow upstream @ http://bugs.winehq.org/show_bug.cgi?id=2715
Comment 2 Thierry Carrez (RETIRED) gentoo-dev 2005-03-17 03:31:41 UTC
Following patches in CVS:
http://www.winehq.org/hypermail/wine-cvs/2005/03/0205.html
http://www.winehq.org/hypermail/wine-cvs/2005/03/0243.html
http://www.winehq.org/hypermail/wine-cvs/2005/03/0249.html

Probably better to wait for a new snapshot version...
Ccing herd
Comment 3 SpanKY gentoo-dev 2005-03-17 05:44:56 UTC
current wine has a bug open about it that isnt present in the previous version so i think i'll patch our current stable
Comment 4 SpanKY gentoo-dev 2005-03-17 16:53:10 UTC
added 20050111-r1 with said patch (20050111 is our current stable)

unstable i'd prefer to wait for next snap release
Comment 5 Thierry Carrez (RETIRED) gentoo-dev 2005-03-18 00:58:53 UTC
Ready for GLSA decision. 
Not sure if it's an A4 (info disclosure) or an A3 (insecure tmpfile creation).

GLSA should say *>=20050111-r1 and >20050310 are unaffected, <=20050310 is affected.
Comment 6 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-03-18 03:25:12 UTC
I vote NO.
Comment 7 SpanKY gentoo-dev 2005-03-18 06:23:52 UTC
i'd call it more info disclosure

no one (in their right mind) runs wine as root, so the attack possibilities for a non-root user are not nearly as fun ... reading their passwords is quite fun though :)

the other aspect of this is that how many people use wine in a multi-user environemnt ?  imho, wine is typically a 'desktop' app (the only user logs in locally and uses X and crap) ...
Comment 8 Thierry Carrez (RETIRED) gentoo-dev 2005-03-21 00:59:39 UTC
Voting NO too. As usual, reopen if you disagree