Bug 112468

Summary: Temporary files are world writeable
Product: [Retired] Red Hat Linux Reporter: Andrew E. Mileski <andrewm>
Component: imapAssignee: John Dennis <jdennis>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: mitr
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:00:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew E. Mileski 2003-12-20 09:28:51 UTC
# ls -al /tmp
total 20
drwxrwxrwt    3 root     root         4096 Dec 20 04:20 .
drwxr-xr-x   20 root     root         4096 Nov 14 05:09 ..
-rw-rw-rw-    1 andrewm  andrewm         5 Dec 20 04:18 .303.401f
# cat .303.401f
18837# ps 18837
  PID TTY      STAT   TIME COMMAND
18837 ?        S      0:00 imapd


Version-Release number of selected component (if applicable):
imap-2001a-18

How reproducible:
Always

Steps to Reproduce:
1. Connect to server via IMAP
    
Additional info:
The umask for root and the user are both set to 077 in their .bashrc

Comment 1 Mike A. Harris 2004-02-27 10:23:27 UTC
Yep, this security flaw is inherent in the design of UW imap,
and is covered in the UW imap FAQ.  The UW people believe that
this isn't an issue at all, and they refuse to address it.

Fixing the problem essentially means forking the UW imap
codebase, and maintaining our own fork which is incompatible
with all other OS vendors.  We have decided to replace UW imap
with alternative software in future OS releases instead, due
to the large number of security problems in the UW imap software,
and frequent security vulnerabilities.

Comment 2 Mike A. Harris 2004-02-27 10:30:00 UTC

*** This bug has been marked as a duplicate of 39685 ***

Comment 3 Red Hat Bugzilla 2006-02-21 19:00:29 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.