Bug 637747

Summary: SELinux is preventing /usr/lib64/xulrunner-2.0b6/plugin-container "write" access .
Product: [Fedora] Fedora Reporter: Rahul Sundaram <sundaram>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 14CC: dwalsh, mgrepl, smohan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:235b336aee924f5939a604a02cdfd6b6b4dfa2a4fc9769ca7224772293d708c8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-27 12:27:18 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 Rahul Sundaram 2010-09-27 09:56:39 UTC
Summary:

SELinux is preventing /usr/lib64/xulrunner-2.0b6/plugin-container "write" access
.

Detailed Description:

[plugin-containe has a permissive type (mozilla_plugin_t). This access was not
denied.]

SELinux denied access requested by plugin-containe. It is not expected that this
access is required by plugin-containe 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                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Objects                None [ netlink_route_socket ]
Source                        plugin-containe
Source Path                   /usr/lib64/xulrunner-2.0b6/plugin-container
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           xulrunner2-2.0-0.7.b6.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.5-5.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.4-28.fc14.x86_64 #1 SMP
                              Wed Sep 15 01:56:54 UTC 2010 x86_64 x86_64
Alert Count                   2
First Seen                    Mon 27 Sep 2010 03:17:29 PM IST
Last Seen                     Mon 27 Sep 2010 03:17:29 PM IST
Local ID                      184a22c4-c88b-4ffd-9add-b90481ad8d43
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1285580849.62:171): avc:  denied  { write } for  pid=13359 comm="plugin-containe" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tclass=netlink_route_socket

node=(removed) type=AVC msg=audit(1285580849.62:171): avc:  denied  { nlmsg_read } for  pid=13359 comm="plugin-containe" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tclass=netlink_route_socket

node=(removed) type=SYSCALL msg=audit(1285580849.62:171): arch=c000003e syscall=44 success=yes exit=20 a0=10 a1=7f507fdfe3c0 a2=14 a3=0 items=0 ppid=9546 pid=13359 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="plugin-containe" exe="/usr/lib64/xulrunner-2.0b6/plugin-container" subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,plugin-containe,mozilla_plugin_t,mozilla_plugin_t,netlink_route_socket,write
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t self:netlink_route_socket { write nlmsg_read };

Comment 1 Daniel Walsh 2010-09-27 12:27:18 UTC

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