Bug 632875 - SELinux is preventing /usr/bin/nspluginscan "read" access on /usr/lib64/mozilla/plugins-wrapped/npwrapper.so.
Summary: SELinux is preventing /usr/bin/nspluginscan "read" access on /usr/lib64/...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:8dad2bf03dd...
: 632876 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-11 17:00 UTC by leigh scott
Modified: 2010-11-08 21:28 UTC (History)
17 users (show)

Fixed In Version: selinux-policy-3.9.5-10.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-05 13:09:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description leigh scott 2010-09-11 17:00:01 UTC
Summary:

SELinux is preventing /usr/bin/nspluginscan "read" access on
/usr/lib64/mozilla/plugins-wrapped/npwrapper.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                system_u:object_r:nsplugin_rw_t:s0
Target Objects                /usr/lib64/mozilla/plugins-wrapped/npwrapper.so [
                              lnk_file ]
Source                        nspluginscan
Source Path                   /usr/bin/nspluginscan
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           kdebase-4.5.1-1.fc14
Target RPM Packages           nspluginwrapper-1.3.0-14.fc14
Policy RPM                    selinux-policy-3.9.3-4.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.35.4-12.fc14.x86_64 #1 SMP Fri Aug 27 07:45:05
                              UTC 2010 x86_64 x86_64
Alert Count                   2
First Seen                    Sat 11 Sep 2010 04:53:21 PM BST
Last Seen                     Sat 11 Sep 2010 04:53:21 PM BST
Local ID                      b721217a-bd71-48ba-a0fd-040a415f52d5
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1284220401.922:36): avc:  denied  { read } for  pid=1799 comm="nspluginscan" name="npwrapper.so" dev=dm-0 ino=664682 scontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:nsplugin_rw_t:s0 tclass=lnk_file

node=(removed) type=SYSCALL msg=audit(1284220401.922:36): arch=c000003e syscall=4 success=no exit=-13 a0=2134158 a1=2155128 a2=2155128 a3=1 items=0 ppid=1425 pid=1799 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)



Hash String generated from  catchall,nspluginscan,nsplugin_t,nsplugin_rw_t,lnk_file,read
audit2allow suggests:

#============= nsplugin_t ==============
allow nsplugin_t nsplugin_rw_t:lnk_file read;

Comment 1 Daniel Walsh 2010-09-13 13:14:43 UTC
Fixed in selinux-policy-3.9.4-1.fc14

Comment 2 Daniel Walsh 2010-09-13 13:15:03 UTC
*** Bug 632876 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2010-09-22 23:03:24 UTC
selinux-policy-3.9.5-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.5-3.fc14

Comment 4 Fedora Update System 2010-09-23 19:33:04 UTC
selinux-policy-3.9.5-3.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.9.5-3.fc14

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

Comment 6 Martin Naď 2010-10-03 14:59:00 UTC
Souhrn:

SELinux is preventing /usr/bin/nspluginscan "getattr" access on
/usr/lib64/mozilla/plugins-wrapped/libjavaplugin.so.

Podrobný popis:

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.

Povolení přístupu:

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.

Další informace:

Kontext zdroje                unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c102
                              3
Kontext cíle                  unconfined_u:object_r:nsplugin_rw_t:s0
Objekty cíle                  /usr/lib64/mozilla/plugins-
                              wrapped/libjavaplugin.so [ lnk_file ]
Zdroj                         nspluginscan
Cesta zdroje                  /usr/bin/nspluginscan
Port                          <Neznámé>
Počítač                       (odstraněno)
RPM balíčky zdroje            kdebase-4.5.1-2.fc14
RPM balíčky cíle              
RPM politiky                  selinux-policy-3.9.5-7.fc14
Selinux povolen               True
Typ politiky                  targeted
Vynucovací režim              Enforcing
Název zásuvného modulu        catchall
Název počítače                (odstraněno)
Platforma                     Linux localhost.localdomain
                              2.6.35.6-37.fc14.x86_64 #1 SMP Fri Oct 1 06:07:16
                              UTC 2010 x86_64 x86_64
Počet upozornění              2
Poprvé viděno                 So 2. říjen 2010, 01:02:56 CEST
Naposledy viděno              So 2. říjen 2010, 01:02:56 CEST
Místní ID                     506fb537-49e5-4844-bad8-d61197a7c9cb
Čísla řádků                   

Původní zprávy auditu         

node=localhost.localdomain type=AVC msg=audit(1285974176.644:54): avc:  denied  { getattr } for  pid=1519 comm="nspluginscan" path="/usr/lib64/mozilla/plugins-wrapped/libjavaplugin.so" dev=sdf2 ino=679093 scontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:nsplugin_rw_t:s0 tclass=lnk_file

node=localhost.localdomain type=SYSCALL msg=audit(1285974176.644:54): arch=c000003e syscall=6 success=no exit=-13 a0=1f991d8 a1=7fffe9ec5e40 a2=7fffe9ec5e40 a3=1 items=0 ppid=1362 pid=1519 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 7 Daniel Walsh 2010-10-04 15:37:27 UTC
Fixed in selinux-policy-3.9.5-9.fc14

Comment 8 Fedora Update System 2010-10-04 19:38:03 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 9 Fedora Update System 2010-10-05 13:07:18 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.


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