Bug 627132 - SELinux is preventing /usr/lib64/nspluginwrapper/plugin-config "unlink" access on /usr/lib64/mozilla/plugins-wrapped/nswrapper_64_64.libgnashplugin.so.
Summary: SELinux is preventing /usr/lib64/nspluginwrapper/plugin-config "unlink" acces...
Keywords:
Status: CLOSED DUPLICATE of bug 627130
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:751349110e1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-25 07:11 UTC by Amit Shah
Modified: 2010-09-22 11:34 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-08-25 10:51:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Amit Shah 2010-08-25 07:11:48 UTC
Summary:

SELinux is preventing /usr/lib64/nspluginwrapper/plugin-config "unlink" 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                      4f8fc5b2-09d5-48b8-9863-31ccb957fe3e
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1282719877.918:24342): avc:  denied  { unlink } 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:24342): arch=c000003e syscall=87 success=yes exit=128 a0=7fffd0fe3cbc a1=7fffd0fe2bbd a2=7fffd0fdf80f 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,unlink
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 unlink;

Comment 1 Miroslav Grepl 2010-08-25 10:51:33 UTC

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


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