Bug 638155

Summary: nspluginscan Triggering SELinux Security Alerts
Product: [Fedora] Fedora Reporter: Jeremy Uchitel <circular>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: low    
Version: 14   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.9.5-10.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-05 13:07:54 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 Jeremy Uchitel 2010-09-28 12:03:35 UTC
Description of problem:
SELinux Alerts are frequently posted for denials against nspluginscan

Version-Release number of selected component (if applicable):
selinux-policy-targeted-3.9.5-5.fc14.noarch

How reproducible:
Boot system and log in, run firefox (?)

Steps to Reproduce:
1. Boot system and login
2. Run firefox (?)
3.
  
Actual results:
SELinux Security Alert notifications on login

Expected results:
No alert

Additional information:

Summary:

SELinux is preventing /usr/bin/nspluginscan "getattr" access on
/usr/lib64/mozilla/plugins-wrapped/librhythmbox-itms-detection-plugin.so.

Detailed Description:

SELinux denied access requested by nspluginscan. It is not expected that this
access is required by nspluginscan 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:nsplugin_t:s0-s0:c0.c102
                              3
Target Context                unconfined_u:object_r:nsplugin_rw_t:s0
Target Objects                /usr/lib64/mozilla/plugins-wrapped/librhythmbox-
                              itms-detection-plugin.so [ lnk_file ]
Source                        nspluginscan
Source Path                   /usr/bin/nspluginscan
Port                          <Unknown>
Host                          f14tester
Source RPM Packages           kdebase-4.5.1-2.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                     f14tester
Platform                      Linux f14tester 2.6.35.4-28.fc14.x86_64 #1 SMP Wed
                              Sep 15 01:56:54 UTC 2010 x86_64 x86_64
Alert Count                   4
First Seen                    Mon 27 Sep 2010 10:43:23 AM EDT
Last Seen                     Mon 27 Sep 2010 10:43:23 AM EDT
Local ID                      21301937-a16c-4afa-8af8-5ed6070be8de
Line Numbers                  

Raw Audit Messages            

node=f14tester type=AVC msg=audit(1285598603.855:26540): avc:  denied  { getattr } for  pid=2193 comm="nspluginscan" path="/usr/lib64/mozilla/plugins-wrapped/librhythmbox-itms-detection-plugin.so" dev=dm-1 ino=525402 scontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:nsplugin_rw_t:s0 tclass=lnk_file

node=f14tester type=SYSCALL msg=audit(1285598603.855:26540): arch=c000003e syscall=6 success=no exit=-13 a0=18b09e8 a1=7fff18d9eb40 a2=7fff18d9eb40 a3=1 items=0 ppid=2065 pid=2193 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="nspluginscan" exe="/usr/bin/nspluginscan" subj=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 key=(null)

Comment 1 Daniel Walsh 2010-09-28 14:41:00 UTC
 Fixed in selinux-policy-3.9.5-8.fc14

Comment 2 Fedora Update System 2010-10-04 19:35:43 UTC
selinux-policy-3.9.5-10.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.5-10.fc14

Comment 3 Fedora Update System 2010-10-05 13:05:11 UTC
selinux-policy-3.9.5-10.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.