Bug 631269 - SELinux is preventing /usr/lib64/xulrunner-2.0b4/plugin-container "write" access on /home/sundaram/.macromedia/Flash_Player/#SharedObjects/DK3NKPGS/mail.google.com.
Summary: SELinux is preventing /usr/lib64/xulrunner-2.0b4/plugin-container "write" acc...
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:53e3e78011a...
: 631267 631268 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-07 17:45 UTC by Rahul Sundaram
Modified: 2013-03-13 05:47 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.9.3-4.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-23 12:45:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rahul Sundaram 2010-09-07 17:45:11 UTC
Summary:

SELinux is preventing /usr/lib64/xulrunner-2.0b4/plugin-container "write" access
on
/home/sundaram/.macromedia/Flash_Player/#SharedObjects/DK3NKPGS/mail.google.com.

Detailed Description:

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

SELinux denied access requested by plugin-containe. It is not expected that this
access is required by plugin-containe 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:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Context                unconfined_u:object_r:nsplugin_home_t:s0
Target Objects                /home/sundaram/.macromedia/Flash_Player/#SharedObj
                              ects/DK3NKPGS/mail.google.com [ dir ]
Source                        plugin-containe
Source Path                   /usr/lib64/xulrunner-2.0b4/plugin-container
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           xulrunner2-2.0-0.5.b4.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.0-2.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                   94
First Seen                    Mon 06 Sep 2010 07:50:07 PM IST
Last Seen                     Tue 07 Sep 2010 10:38:45 PM IST
Local ID                      08b3c951-c37c-4ef1-abe6-65f87f733320
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1283879325.200:2133): avc:  denied  { write } for  pid=28290 comm="plugin-containe" name="mail.google.com" dev=dm-2 ino=3670163 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:nsplugin_home_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1283879325.200:2133): avc:  denied  { add_name } for  pid=28290 comm="plugin-containe" name="wakeup.sxx" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:nsplugin_home_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1283879325.200:2133): avc:  denied  { create } for  pid=28290 comm="plugin-containe" name="wakeup.sxx" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:nsplugin_home_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1283879325.200:2133): avc:  denied  { append } for  pid=28290 comm="plugin-containe" name="wakeup.sxx" dev=dm-2 ino=3670132 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:nsplugin_home_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1283879325.200:2133): arch=c000003e syscall=2 success=yes exit=28 a0=7f6d2b863100 a1=442 a2=1b6 a3=0 items=0 ppid=28247 pid=28290 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="plugin-containe" exe="/usr/lib64/xulrunner-2.0b4/plugin-container" subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,plugin-containe,mozilla_plugin_t,nsplugin_home_t,dir,write
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t nsplugin_home_t:dir { write add_name };
allow mozilla_plugin_t nsplugin_home_t:file { create append };

Comment 1 Daniel Walsh 2010-09-07 17:57:28 UTC
Fixed in selinux-policy-3.9.3-1.fc14

Comment 2 Daniel Walsh 2010-09-07 17:57:44 UTC
*** Bug 631268 has been marked as a duplicate of this bug. ***

Comment 3 Daniel Walsh 2010-09-07 17:57:52 UTC
*** Bug 631267 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2010-09-10 16:50:48 UTC
selinux-policy-3.9.3-4.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.3-4.fc14

Comment 5 Fedora Update System 2010-09-11 02:18:38 UTC
selinux-policy-3.9.3-4.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.3-4.fc14

Comment 6 Fedora Update System 2010-09-23 12:42:29 UTC
selinux-policy-3.9.3-4.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.