Bug 630322

Summary: SELinux is preventing /usr/lib/xulrunner-1.9.2/plugin-container "write" access on s.ytimg.com.
Product: [Fedora] Fedora Reporter: Volodymyr Shcherbyna <volodymyr>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: archit2x3, beland, dwalsh, linuxdonald, magnus.tuominen, mgrepl, pedrompcaetano, volodymyr, watzkej
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:d308ed49fd49c1e8d646eefe9aa574ae4527d73bfb682132bba6886df3147ffe
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-07 20:07:03 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 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 ***