Bug 916423 - SELinux is preventing /usr/lib/xulrunner/plugin-container from 'append' accesses on the file C:\nppdf32Log\debuglog.txt.
Summary: SELinux is preventing /usr/lib/xulrunner/plugin-container from 'append' acces...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8af411c3c9c6f8dc00a732cd129...
: 916425 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-28 03:11 UTC by Jaco
Modified: 2013-03-04 14:37 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-28 14:37:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2013-02-28 03:11 UTC, Jaco
no flags Details
File: hashmarkername (14 bytes, text/plain)
2013-02-28 03:11 UTC, Jaco
no flags Details

Description Jaco 2013-02-28 03:11:32 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.7.6-102.fc17.i686.PAE

description:
:SELinux is preventing /usr/lib/xulrunner/plugin-container from 'append' accesses on the file C:\nppdf32Log\debuglog.txt.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that plugin-container should be allowed append access on the C:\nppdf32Log\debuglog.txt file by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep plugin-containe /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
: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                C:\nppdf32Log\debuglog.txt [ file ]
:Source                        plugin-containe
:Source Path                   /usr/lib/xulrunner/plugin-container
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           xulrunner-18.0.2-1.fc17.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-167.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.7.6-102.fc17.i686.PAE #1 SMP Mon
:                              Feb 4 17:46:36 UTC 2013 i686 i686
:Alert Count                   2
:First Seen                    2013-02-28 12:23:11 EST
:Last Seen                     2013-02-28 12:29:45 EST
:Local ID                      28518d56-24a7-44de-9423-7be30954e015
:
:Raw Audit Messages
:type=AVC msg=audit(1362018585.313:103): avc:  denied  { append } for  pid=7352 comm="plugin-containe" name="C:\nppdf32Log\debuglog.txt" dev="dm-2" ino=404226 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file
:
:
:type=AVC msg=audit(1362018585.313:103): avc:  denied  { open } for  pid=7352 comm="plugin-containe" path="/home/jaco/C:\nppdf32Log\debuglog.txt" dev="dm-2" ino=404226 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1362018585.313:103): arch=i386 syscall=open success=yes exit=EEXIST a0=b62c693a a1=441 a2=1b6 a3=b75f11a0 items=0 ppid=2759 pid=7352 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) comm=plugin-containe exe=/usr/lib/xulrunner/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: plugin-containe,mozilla_plugin_t,user_home_dir_t,file,append
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t user_home_dir_t:file { open append };
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t user_home_dir_t:file { open append };
:

Comment 1 Jaco 2013-02-28 03:11:35 UTC
Created attachment 703759 [details]
File: type

Comment 2 Jaco 2013-02-28 03:11:37 UTC
Created attachment 703760 [details]
File: hashmarkername

Comment 3 Daniel Walsh 2013-02-28 14:37:35 UTC
You know you are sucking windows files/paths on to you unix platform via firefox.

To get this to work, you need to turn off the plugin protection.

# setsebool -p unconfined_mozilla_plugin_transition 0

Comment 4 Daniel Walsh 2013-02-28 14:38:00 UTC
*** Bug 916425 has been marked as a duplicate of this bug. ***

Comment 5 Daniel Walsh 2013-02-28 14:38:29 UTC
BTW What plugin were you using when this happened?

Comment 6 Jaco 2013-03-01 22:09:31 UTC
I was using the Citrix Receiver (ICAClient-12.1.0-0(32 bit))

Comment 7 Daniel Walsh 2013-03-04 14:37:30 UTC
Should the Citrix Receiver be downloading windows files with windows paths onto a linux system?  Seems like a bug in the plugin.


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