Bug 659145 - SELinux is preventing /usr/sbin/userhelper "setuid" access .
Summary: SELinux is preventing /usr/sbin/userhelper "setuid" access .
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:a958554e20e...
: 659139 659140 659143 659147 659149 659150 659151 659153 659154 659156 659158 659197 659199 659200 660222 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-02 01:08 UTC by maurizio
Modified: 2010-12-06 12:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-02 09:32:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description maurizio 2010-12-02 01:08:42 UTC
Summary:

SELinux is preventing /usr/sbin/userhelper "setuid" access .

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by userhelper. It is not expected that this
access is required by userhelper and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                mauricio:user_r:user_t:s0-s0:c0.c1023
Target Context                mauricio:user_r:user_t:s0-s0:c0.c1023
Target Objects                None [ capability ]
Source                        userhelper
Source Path                   /usr/sbin/userhelper
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           usermode-1.104.2-1.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-69.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.33.3-85.fc13.i686
                              #1 SMP Thu May 6 18:44:12 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Wed 01 Dec 2010 05:41:32 PM MST
Last Seen                     Wed 01 Dec 2010 05:41:32 PM MST
Local ID                      e58b4ee5-7b57-488a-a2b3-760733664c84
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1291250492.823:27): avc:  denied  { setuid } for  pid=2589 comm="userhelper" capability=7  scontext=mauricio:user_r:user_t:s0-s0:c0.c1023 tcontext=mauricio:user_r:user_t:s0-s0:c0.c1023 tclass=capability

node=(removed) type=SYSCALL msg=audit(1291250492.823:27): arch=40000003 syscall=213 success=yes exit=0 a0=0 a1=400 a2=400 a3=d5 items=0 ppid=2583 pid=2589 auid=500 uid=0 gid=493 euid=0 suid=0 fsuid=0 egid=493 sgid=493 fsgid=493 tty=(none) ses=1 comm="userhelper" exe="/usr/sbin/userhelper" subj=mauricio:user_r:user_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,userhelper,user_t,user_t,capability,setuid
audit2allow suggests:

#============= user_t ==============
allow user_t self:capability setuid;

Comment 1 Miroslav Grepl 2010-12-02 09:32:34 UTC
Confined user "user_t" is not allowed to run su, sudo, ping and other setuid binaries.

-------

SELinux "user_u" confined user has the following purpose of use:

terminal login, xwindows login, network - YES

exec in homedir, setuid - NO


-------

If you did not plan on using confined users, you can change the default back using semanage.

If you plan on using confined users, we can help you. Just let me know.

Comment 2 Miroslav Grepl 2010-12-02 09:33:15 UTC
*** Bug 659143 has been marked as a duplicate of this bug. ***

Comment 3 Miroslav Grepl 2010-12-02 09:33:41 UTC
*** Bug 659147 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2010-12-02 09:34:56 UTC
*** Bug 659149 has been marked as a duplicate of this bug. ***

Comment 5 Miroslav Grepl 2010-12-02 09:35:19 UTC
*** Bug 659150 has been marked as a duplicate of this bug. ***

Comment 6 Miroslav Grepl 2010-12-02 09:35:45 UTC
*** Bug 659151 has been marked as a duplicate of this bug. ***

Comment 7 Miroslav Grepl 2010-12-02 09:36:10 UTC
*** Bug 659153 has been marked as a duplicate of this bug. ***

Comment 8 Miroslav Grepl 2010-12-02 09:36:33 UTC
*** Bug 659154 has been marked as a duplicate of this bug. ***

Comment 9 Miroslav Grepl 2010-12-02 09:37:07 UTC
*** Bug 659156 has been marked as a duplicate of this bug. ***

Comment 10 Miroslav Grepl 2010-12-02 09:37:42 UTC
*** Bug 659158 has been marked as a duplicate of this bug. ***

Comment 11 Miroslav Grepl 2010-12-02 09:38:12 UTC
*** Bug 659197 has been marked as a duplicate of this bug. ***

Comment 12 Miroslav Grepl 2010-12-02 09:38:39 UTC
*** Bug 659199 has been marked as a duplicate of this bug. ***

Comment 13 Miroslav Grepl 2010-12-02 09:39:04 UTC
*** Bug 659200 has been marked as a duplicate of this bug. ***

Comment 14 Miroslav Grepl 2010-12-02 09:41:20 UTC
*** Bug 659139 has been marked as a duplicate of this bug. ***

Comment 15 Miroslav Grepl 2010-12-02 09:44:33 UTC
*** Bug 659140 has been marked as a duplicate of this bug. ***

Comment 18 Miroslav Grepl 2010-12-06 12:28:45 UTC
*** Bug 660222 has been marked as a duplicate of this bug. ***


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