Bug 630322 - SELinux is preventing /usr/lib/xulrunner-1.9.2/plugin-container "write" access on s.ytimg.com.
Summary: SELinux is preventing /usr/lib/xulrunner-1.9.2/plugin-container "write" acces...
Keywords:
Status: CLOSED DUPLICATE of bug 630323
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:d308ed49fd4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-04 19:32 UTC by Volodymyr Shcherbyna
Modified: 2010-10-25 18:09 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-09-07 20:07:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Volodymyr Shcherbyna 2010-09-04 19:32:15 UTC
Summary:

SELinux is preventing /usr/lib/xulrunner-1.9.2/plugin-container "write" access
on s.ytimg.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:user_home_dir_t:s0
Target Objects                s.ytimg.com [ dir ]
Source                        plugin-containe
Source Path                   /usr/lib/xulrunner-1.9.2/plugin-container
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           xulrunner-1.9.2.7-2.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.i686.PAE #1 SMP Fri Aug 27
                              07:47:26 UTC 2010 i686 i686
Alert Count                   10
First Seen                    Thu 02 Sep 2010 11:25:07 PM CEST
Last Seen                     Fri 03 Sep 2010 12:14:40 AM CEST
Local ID                      fc4c1374-a667-494a-80c3-a39d3919bcaf
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1283465680.760:1159): avc:  denied  { write } for  pid=3901 comm="plugin-containe" name="s.ytimg.com" dev=sda6 ino=269397 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1283465680.760:1159): avc:  denied  { add_name } for  pid=3901 comm="plugin-containe" name="videostats.sxx" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1283465680.760:1159): avc:  denied  { create } for  pid=3901 comm="plugin-containe" name="videostats.sxx" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1283465680.760:1159): avc:  denied  { append } for  pid=3901 comm="plugin-containe" name="videostats.sxx" dev=sda6 ino=271594 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1283465680.760:1159): arch=40000003 syscall=5 success=yes exit=22 a0=b3f30e68 a1=8442 a2=1b6 a3=370f1d7 items=0 ppid=3857 pid=3901 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/lib/xulrunner-1.9.2/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,user_home_dir_t,dir,write
audit2allow suggests:

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

Comment 1 Daniel Walsh 2010-09-07 20:07:03 UTC

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


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