Bug 627130

Summary: SELinux is preventing /usr/lib64/nspluginwrapper/plugin-config "read execute" access on /usr/lib64/mozilla/plugins-wrapped/nswrapper_64_64.libgnashplugin.so.
Product: [Fedora] Fedora Reporter: Amit Shah <amit.shah>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 13CC: amit.shah, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:0cbc15a96196bd0e8da7bbbd547afa5d71cd90ab0ffdf93af1e104fa92550256
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-04 08:56:49 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 Amit Shah 2010-08-25 07:10:47 UTC
Summary:

SELinux is preventing /usr/lib64/nspluginwrapper/plugin-config "read execute"
access on /usr/lib64/mozilla/plugins-wrapped/nswrapper_64_64.libgnashplugin.so.

Detailed Description:

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

SELinux denied access requested by plugin-config. It is not expected that this
access is required by plugin-config 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:sandbox_web_client_t:s0:
                              c201,c474
Target Context                unconfined_u:object_r:nsplugin_rw_t:s0:c246,c581
Target Objects                /usr/lib64/mozilla/plugins-
                              wrapped/nswrapper_64_64.libgnashplugin.so [ file ]
Source                        plugin-config
Source Path                   /usr/lib64/nspluginwrapper/plugin-config
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           nspluginwrapper-1.3.0-13.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-47.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.33.6-147.2.4.fc13.x86_64 #1 SMP Fri Jul 23
                              17:14:44 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Wed 25 Aug 2010 12:34:37 PM IST
Last Seen                     Wed 25 Aug 2010 12:34:37 PM IST
Local ID                      4ce42e32-d000-4021-84fd-19505b0be1e1
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1282719877.918:24341): avc:  denied  { read execute } for  pid=29374 comm="plugin-config" name="nswrapper_64_64.libgnashplugin.so" dev=dm-3 ino=794573 scontext=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c201,c474 tcontext=unconfined_u:object_r:nsplugin_rw_t:s0:c246,c581 tclass=file

node=(removed) type=SYSCALL msg=audit(1282719877.918:24341): arch=c000003e syscall=21 success=yes exit=128 a0=7fffd0fe3cbc a1=5 a2=7fffd0fdf7ff a3=13057d0 items=0 ppid=29372 pid=29374 auid=500 uid=500 gid=501 euid=0 suid=0 fsuid=0 egid=501 sgid=501 fsgid=501 tty=(none) ses=1 comm="plugin-config" exe="/usr/lib64/nspluginwrapper/plugin-config" subj=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c201,c474 key=(null)



Hash String generated from  catchall,plugin-config,sandbox_web_client_t,nsplugin_rw_t,file,read,execute
audit2allow suggests:

#============= sandbox_web_client_t ==============
#!!!! This avc is a constraint violation.  You will need to add an attribute to either the source or target type to make it work.
#Contraint rule: 
allow sandbox_web_client_t nsplugin_rw_t:file { read execute };

Comment 1 Miroslav Grepl 2010-08-25 10:51:33 UTC
*** Bug 627132 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2010-10-04 08:56:49 UTC

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