http://bugs.winehq.org/show_bug.cgi?id=2715
badpenguin79(a)hotmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|wine-files |wine-misc
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2715
------- Additional Comments From badpenguin79(a)hotmail.com 2005-14-02 05:54 -------
Note: Also, 20050211 release is affected .
The problem is in the function _get_tmp_fn(FILE **) ( in
$WineRelease/misc/registry.c)
---------------------------------------------------------
static LPSTR _get_tmp_fn(FILE **f)
{
LPSTR ret;
int tmp_fd,count;
ret = _xmalloc(50);
for (count = 0;;) {
sprintf(ret,"/tmp/reg%lx%04x.tmp",(long)getpid(),count++);
--> if ((tmp_fd = open(ret,O_CREAT | O_EXCL | O_WRONLY,0666)) != -1) break;
if (errno != EEXIST) {
ERR("Unexpected error while open() call: %s\n",strerror(errno));
free(ret);
*f = NULL;
return NULL;
}
}
---------------------------------------------------
When regxxxxxx.tmp is created by open() 0666 mode is used.
Since that default umask = 022 :
(0666) &~ (022) = 0644 = -rw-r--r--
Solution:
Use .. open(ret,O_CREAT | O_EXCL | O_WRONLY,0600))..
Best Regard,
Giovanni Delvecchio
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2698
gabriele.giorgetti(a)teamfab.it changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From gabriele.giorgetti(a)teamfab.it 2005-14-02 02:56 -------
This patch fixes the problem.
It is a working implementation of text alignment in edit fields.
Regards!
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2709
grahame(a)regress.homelinux.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
------- Additional Comments From grahame(a)regress.homelinux.org 2005-13-02 18:51 -------
OK, seems to be fixed now
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2717
Summary: bitmaps displayed incorrectly
Product: Wine
Version: 20050111
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-binary
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: weert(a)germanynet.de
Starting DVDLabPro the screen is immersed in messages like the following:
err:x11drv:X11DRV_CreateBitmap Trying to make bitmap with planes=1, bpp=32
The bpp-value varies from 4 to 32, the buttons in the application work. In the
previously installed version (20040213) of wine this behaviour was not seen.
HW-Details:
PIII 1000MHz,
VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200
512 MB Mem
TIA!
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2715
badpenguin79(a)hotmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |critical
Priority|P2 |P1
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2715
Summary: Insecure file creation of "regxxxxxxx.tmp" in /tmp
Product: Wine
Version: 20041201
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: wine-files
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: badpenguin79(a)hotmail.com
When an application is runned, wine makes a dump of windows registry in /tmp
with name regxxxxxxx.tmp .
regxxxxxxx.tmp is created with -rw-r--r-- permissions.
This could represent a security problem in a multi-user environment.
Indeed, any local user could access to windows registry's dump and get sensitive
information, like passwords or other private data.
A local attacker could use a script to check every X seconds the presence of a
regxxxxxxx.tmp and copy it in his home directory for a successive analysis.
I have made some tests to reproduce this bug, running several applications and i
noted that it's been possibile get information in
HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider
and
-------------------------------------------------------------------------------
[Software\\Microsoft\\Internet Account Manager\\Accounts\\00000008]
"Account Name"="libero.it"
"Connection Type"=dword:00000003
"POP3 Server"="pop3.libero.it"
"POP3 User Name"="xxxxxxx"
"POP3 Password2"=hex:xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,\
xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,\
xx,xx,xx,xx,xx,xx,xx,xx,xx,xx
"POP3 Prompt for Password"=dword:00000000
"SMTP Server"="mail.libero.it"
"SMTP Display Name"="xxxxxx"
"SMTP Email Address"="xxxxxx(a)libero.it"
"POP3 Skip Account"=dword:00000000
"POP3 Port"=dword:0000006e
"SMTP User Name"=""
"SMTP Password2"=hex:xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,\
xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,\
xx,xx,xx,xx,xx,xx,xx,xx,xx,xx
"SMTP Use Sicily"=dword:00000000
"SMTP Prompt for Password"=dword:00000000
-------------------------------------------------------------------------------
where there were outlook's passwords encrypted.
Note that also if they are encrypted, they could be imported on the windows
registry system of the attacker and so gain illegal access to victim's account.
I think that regxxxxxxx.tmp should be created with 0600 permissions.
Best regards,
Giovanni Delvecchio
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.