Bug 526791 - abrt coredump processing helper (gdb/unstrip) tries to read /home/foo/bar; selinux doesnt allow it
Summary: abrt coredump processing helper (gdb/unstrip) tries to read /home/foo/bar; se...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Denys Vlasenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 525683 528141 587452 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-01 19:17 UTC by Mateusz M.
Modified: 2018-04-11 15:28 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-04 07:35:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mateusz M. 2009-10-01 19:17:18 UTC
The following was filed automatically by setroubleshoot:

Summary:

SELinux is preventing /usr/bin/gdb "read" access on
/home/blink/.mozilla/plugins/libflashplayer.so.

Detailed Description:

[gdb has a permissive type (abrt_t). This access was not denied.]

SELinux denied access requested by gdb. It is not expected that this access is
required by gdb 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:abrt_t:s0
Target Context                unconfined_u:object_r:mozilla_home_t:s0
Target Objects                /home/blink/.mozilla/plugins/libflashplayer.so [
                              file ]
Source                        gdb
Source Path                   /usr/bin/gdb
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gdb-6.8.91.20090925-2.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-12.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.1-56.fc12.x86_64 #1 SMP Tue
                              Sep 29 16:16:22 EDT 2009 x86_64 x86_64
Alert Count                   2
First Seen                    Thu 01 Oct 2009 08:07:49 PM BST
Last Seen                     Thu 01 Oct 2009 08:07:49 PM BST
Local ID                      f48dd491-efaa-4646-95ef-ced0d69ffcf5
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1254424069.862:85): avc:  denied  { read } for  pid=3945 comm="gdb" name="libflashplayer.so" dev=dm-0 ino=3403 scontext=system_u:system_r:abrt_t:s0 tcontext=unconfined_u:object_r:mozilla_home_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1254424069.862:85): avc:  denied  { open } for  pid=3945 comm="gdb" name="libflashplayer.so" dev=dm-0 ino=3403 scontext=system_u:system_r:abrt_t:s0 tcontext=unconfined_u:object_r:mozilla_home_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1254424069.862:85): arch=c000003e syscall=2 success=yes exit=0 a0=2961690 a1=0 a2=0 a3=1 items=0 ppid=1396 pid=3945 auid=4294967295 uid=501 gid=501 euid=501 suid=501 fsuid=501 egid=501 sgid=501 fsgid=501 tty=(none) ses=4294967295 comm="gdb" exe="/usr/bin/gdb" subj=system_u:system_r:abrt_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-12.fc12,catchall,gdb,abrt_t,mozilla_home_t,file,read
audit2allow suggests:

#============= abrt_t ==============
allow abrt_t mozilla_home_t:file { read open };

Comment 1 Daniel Walsh 2009-10-01 21:09:46 UTC
Why is abrt watching for crashes in the homedir?  Do we really want a root tool that can read the .mozilla directory and then connect to the network with the info it read.  The .mozilla directory contains my credit card data for example.

Comment 2 Daniel Novotny 2009-10-29 15:40:33 UTC
hello Mateusz,
what were you doing when this happened?

Comment 3 Bug Zapper 2009-11-16 13:10:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Nikola Pajkovsky 2010-05-05 12:54:16 UTC
*** Bug 525683 has been marked as a duplicate of this bug. ***

Comment 5 Denys Vlasenko 2010-05-27 11:48:56 UTC
*** Bug 587452 has been marked as a duplicate of this bug. ***

Comment 6 Denys Vlasenko 2010-05-27 12:04:10 UTC
*** Bug 528141 has been marked as a duplicate of this bug. ***

Comment 7 Bug Zapper 2010-11-04 09:42:38 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  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 '12'.

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 12'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 12 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 please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

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.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 8 Bug Zapper 2010-12-04 07:35:25 UTC
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


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