Bug 11751 - imapd files installed suid root
Summary: imapd files installed suid root
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Powertools
Classification: Retired
Component: cyrus-imapd
Version: 6.2
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-05-30 13:36 UTC by Michael Tokarev
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-06-10 21:02:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Tokarev 2000-05-30 13:36:47 UTC
All imapd files that should be suid/sgid installed
as uid/gid = root, so they are suid/sgid root.
This is a %defattr(-,root,root) in .spec,
need explicit entry for each suid/sgid file.

Comment 1 Michael Tokarev 2000-05-30 13:39:59 UTC
Ops, forget to mention --
the same is in all versions of it, not only 6.2.
It is also at current (30-may-2000) rawhide.
And there is also 1.6.24 version already (and sasl-1.5.21).

Comment 2 Nalin Dahyabhai 2000-05-30 18:55:59 UTC
Cyrus should not be setuid-root.  Cyrus imapd runs as a dedicated user, and
cannot be run setuid-root (it returns an error if it's started as any other
user, including root).

Comment 3 Michael Tokarev 2000-05-30 19:00:59 UTC
Yes, you are right, but this what I tell about.
After installing cyrus-imapd-1.6.19-2:

$ ls -l /usr/cyrus/bin/
total 2988
-rwxr-xr-x   1 root     root        63696 Feb 11 19:21 arbitron*
-rwxr-xr-x   1 root     root       582416 Feb 11 19:21 collectnews*
-rwsr-x---   1 root     root       638888 Feb 11 19:21 deliver*
  ^^          ^^^^^^   ^^^^^^
-rwxr-sr-x   1 root     root         3608 Feb 11 19:21 deliver-wrapper*
     ^^       ^^^^^^   ^^^^^^
-rwxr-xr-x   1 root     root        63440 Feb 11 19:21 dump_deliverdb*
-rwxr-xr-x   1 root     root         1778 Feb 11 19:21 feedcyrus*
-rwxr-xr-x   1 root     root        64144 Feb 11 19:21 fud*
-rwxr-xr-x   1 root     root       650384 Feb 11 19:21 imapd*
-rwxr-xr-x   1 root     root        63248 Feb 11 19:21 mbpath*
-rwxr-xr-x   1 root     root        79216 Feb 11 19:21 pop3d*
-rwxr-xr-x   1 root     root        65648 Feb 11 19:21 quota*
-rwxr-xr-x   1 root     root       582352 Feb 11 19:21 reconstruct*
-rwxr-xr-x   1 root     root        64560 Feb 11 19:21 syncnews*
-rwxr-xr-x   1 root     root        58928 Feb 11 19:21 timsieved*

$ _

Comment 4 Nalin Dahyabhai 2000-08-04 06:19:07 UTC
This will be fixed in Raw Hide.


Note You need to log in before you can comment on or make changes to this bug.