Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 107766
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thierry Carrez (RETIRED) <koon@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
ntlmaps-0.9.9.5.ebuild-secure-cfg.patch Secure the permissions on the config file patch Tres 'RiverRat' Melton 2005-10-01 06:37 0000 361 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 107766 depends on: Show dependency tree
Bug 107766 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-01 03:19 0000
From Debian Security Advisory DSA 830-1
CVE ID         : CAN-2005-2962

Drew Parsons noticed that the post-installation script of ntlmaps, an
NTLM authorisation proxy server, changes the permissions of the
configuration file to be world-readable.  It contains the user name
and password of the Windows NT system that ntlmaps connects to and,
hence, leaks them to lokal users.

On Gentoo :
-rw-r--r--  1 root root 8523 Oct  1 12:14 /etc/ntlmaps/server.cfg

Here we consider that it's up to the user to protect confidential information
with the right permissions, but it's a bad default permission for sure.

------- Comment #1 From Tres 'RiverRat' Melton 2005-10-01 06:37:15 0000 -------
Created an attachment (id=69631) [details]
Secure the permissions on the config file

------- Comment #2 From Sune Kloppenborg Jeppesen 2005-10-06 12:09:42 0000 -------
net-proxy please advise. 

------- Comment #3 From Alin Năstac 2005-10-06 13:33:02 0000 -------
the patch would be ok if the ntlmaps service wouldn't run as user nobody.
I'll see what I can do about that.

------- Comment #4 From Alin Năstac 2005-10-06 14:43:49 0000 -------
fixed in 0.9.9.5-r1 and 0.9.9-r2. the later has been commited as x86.

now the ebuild creates ntlmaps user & group and run the service as ntlmaps.
also the new versions replace the permissions and group of the existing
/etc/ntlmaps/server.cfg, which I intend to keep it for awhile.

------- Comment #5 From Sune Kloppenborg Jeppesen 2005-10-06 15:12:02 0000 -------
Thx Alin. 
 
Arches please test and mark stable. 

------- Comment #6 From Fernando J. Pereda (RETIRED) 2005-10-10 06:00:39 0000 -------
Stable on alpha

Cheers,
Ferdy

------- Comment #7 From Bryan Østergaard (RETIRED) 2005-10-10 18:21:47 0000 -------
ia64 stable.

------- Comment #8 From Andrej Kacian (RETIRED) 2005-10-11 06:56:44 0000 -------
Should 0.9.9.5-r1 go to stable as well? This bug is a bit unclear about that.

------- Comment #9 From Thierry Carrez (RETIRED) 2005-10-11 07:02:08 0000 -------
No, 0.9.9.5-r1 doesn't /need/ to go stable.

------- Comment #10 From Andrej Kacian (RETIRED) 2005-10-11 07:08:54 0000 -------
Why is x86@ still CCed then? Alin committed 0.9.9-r2 directly as stable on x86,
see comment #4.

------- Comment #11 From Sune Kloppenborg Jeppesen 2005-10-13 22:35:42 0000 -------
Thx. All stable -> Closing without GLSA. 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug