Bug 543427 - SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin "execmod" access on /usr/lib/firefox/plugins/libractrl.so.
Summary: SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin "execmod" access ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:608f6a745e0...
: 551591 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-02 11:25 UTC by Iftikhar
Modified: 2009-12-31 14:26 UTC (History)
3 users (show)

Fixed In Version: 3.6.32-55.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-07 22:47:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Iftikhar 2009-12-02 11:25:38 UTC
Summary:

SELinux is preventing /usr/lib/nspluginwrapper/npviewer.bin "execmod" access on
/usr/lib/firefox/plugins/libractrl.so.

Detailed Description:

SELinux denied access requested by npviewer.bin. The current boolean settings do
not allow this access. If you have not setup npviewer.bin to require this access
this may signal an intrusion attempt. If you do intend this access you need to
change the booleans on this system to allow the access.

Allowing Access:

Confined processes can be configured to run requiring different access, SELinux
provides booleans to allow you to turn on/off access as needed. The boolean
allow_execmod is set incorrectly.
Boolean Description:
Allow all unconfined executables to use libraries requiring text relocation that
are not labeled textrel_shlib_t")


Fix Command:

# setsebool -P allow_execmod 1

Additional Information:

Source Context                unconfined_u:unconfined_r:unconfined_execmem_t:s0
Target Context                system_u:object_r:lib_t:s0
Target Objects                /usr/lib/firefox/plugins/libractrl.so [ file ]
Source                        npviewer.bin
Source Path                   /usr/lib/nspluginwrapper/npviewer.bin
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           nspluginwrapper-1.3.0-8.fc12
Target RPM Packages           logmein-client-1.0.387-1
Policy RPM                    selinux-policy-3.6.32-46.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall_boolean
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.5-127.fc12.i686 #1 SMP
                              Sat Nov 7 21:41:45 EST 2009 i686 i686
Alert Count                   4
First Seen                    Wed 24 Jun 2009 10:50:29 AM BST
Last Seen                     Tue 24 Nov 2009 05:40:47 PM GMT
Local ID                      083aba93-011c-4b57-a2f7-6d730de3cf57
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1259084447.495:20): avc:  denied  { execmod } for  pid=2154 comm="npviewer.bin" path="/usr/lib/firefox/plugins/libractrl.so" dev=dm-0 ino=23601640 scontext=unconfined_u:unconfined_r:unconfined_execmem_t:s0 tcontext=system_u:object_r:lib_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1259084447.495:20): arch=40000003 syscall=125 success=no exit=-13 a0=710a000 a1=694000 a2=5 a3=bf92f760 items=0 ppid=2052 pid=2154 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="npviewer.bin" exe="/usr/lib/nspluginwrapper/npviewer.bin" subj=unconfined_u:unconfined_r:unconfined_execmem_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-46.fc12,catchall_boolean,npviewer.bin,unconfined_execmem_t,lib_t,file,execmod
audit2allow suggests:

#============= unconfined_execmem_t ==============
allow unconfined_execmem_t lib_t:file execmod;

Comment 1 Daniel Walsh 2009-12-02 12:35:49 UTC
Execute the chcon command suggested.

Fixed in selinux-policy-3.6.32-53.fc12.noarch

Please report this as a bug to logmein-client.  They probably need to fix the way their library is built.

http://people.redhat.com/~drepper/selinux-mem.html

The above link explains the access check.

Comment 2 Fedora Update System 2009-12-03 20:27:51 UTC
selinux-policy-3.6.32-55.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-55.fc12

Comment 3 Fedora Update System 2009-12-04 23:46:03 UTC
selinux-policy-3.6.32-55.fc12 has been pushed to the Fedora 12 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: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-12650

Comment 4 Fedora Update System 2009-12-08 07:52:41 UTC
selinux-policy-3.6.32-55.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Daniel Walsh 2009-12-31 14:26:15 UTC
*** Bug 551591 has been marked as a duplicate of this bug. ***


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