Bug 887706 - SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'setattr' accesses on the file djview4.
Summary: SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'setattr' ac...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e5c7c54dbc54cb7d1fd35f59122...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-17 03:55 UTC by Jerry James
Modified: 2013-07-04 10:24 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-07-04 10:24:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-12-17 03:55 UTC, Jerry James
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-12-17 03:55 UTC, Jerry James
no flags Details

Description Jerry James 2012-12-17 03:55:01 UTC
Description of problem:
I installed the djview plugin as it was required by a web site I was trying to use.  The next run of Firefox produced this denial.

Additional info:
libreport version: 2.0.18
kernel:         3.6.10-2.fc17.x86_64

description:
:SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'setattr' accesses on the file djview4.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that plugin-container should be allowed setattr access on the djview4 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                system_u:object_r:bin_t:s0
:Target Objects                djview4 [ file ]
:Source                        plugin-containe
:Source Path                   /usr/lib64/xulrunner/plugin-container
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           xulrunner-17.0-3.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-161.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.7-4.fc17.x86_64 #1 SMP Tue Nov
:                              20 19:40:01 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    2012-11-29 21:51:04 MST
:Last Seen                     2012-11-29 21:57:37 MST
:Local ID                      5b339b79-715d-48a3-8d80-dfdf43ebb58c
:
:Raw Audit Messages
:type=AVC msg=audit(1354251457.468:178): avc:  denied  { setattr } for  pid=9358 comm="plugin-containe" name="djview4" dev="dm-1" ino=843333 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:bin_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1354251457.468:178): arch=x86_64 syscall=chmod success=no exit=EACCES a0=7fb4306fa3e0 a1=81ed a2=7fff9b865f30 a3=8 items=0 ppid=9357 pid=9358 auid=1000 uid=1000 gid=100 euid=1000 suid=1000 fsuid=1000 egid=100 sgid=100 fsgid=100 tty=(none) ses=2 comm=plugin-containe exe=/usr/lib64/xulrunner/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: plugin-containe,mozilla_plugin_t,bin_t,file,setattr
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t bin_t:file setattr;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t bin_t:file setattr;
:

Comment 1 Jerry James 2012-12-17 03:55:04 UTC
Created attachment 664654 [details]
File: type

Comment 2 Jerry James 2012-12-17 03:55:05 UTC
Created attachment 664655 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-12-17 09:26:57 UTC
Do you know which plugin causes this?

Comment 4 Daniel Walsh 2012-12-17 19:42:17 UTC
These are bogus.  Since this AVC would be denied by DAC, we should not be checking setattr for MAC access before DAC access.

Comment 5 Fedora End Of Life 2013-07-04 00:54:52 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.


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