Bug 557623 - SELinux is preventing /usr/lib/firefox-3.5.6/firefox "sendto" access.
Summary: SELinux is preventing /usr/lib/firefox-3.5.6/firefox "sendto" access.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:a8a0296f56f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-21 23:33 UTC by Don Vogt
Modified: 2010-02-02 01:22 UTC (History)
2 users (show)

Fixed In Version: 3.6.32-78.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-02 01:22:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to make sandbox match Rawhide policy (2.56 KB, application/octet-stream)
2010-01-22 13:47 UTC, Daniel Walsh
no flags Details

Description Don Vogt 2010-01-21 23:33:55 UTC
Summary:

SELinux is preventing /usr/lib/firefox-3.5.6/firefox "sendto" access.

Detailed Description:

SELinux denied access requested by firefox. It is not expected that this access
is required by firefox 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                unconfined_u:unconfined_r:sandbox_web_client_t:s0:
                              c883,c963
Target Context                unconfined_u:unconfined_r:sandbox_web_client_t:s0:
                              c883,c963
Target Objects                None [ unix_dgram_socket ]
Source                        firefox
Source Path                   /usr/lib/firefox-3.5.6/firefox
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           firefox-3.5.6-1.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-69.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux localhost.localdomain 2.6.31.9-174.fc12.i686
                              #1 SMP Mon Dec 21 06:24:20 UTC 2009 i686 athlon
Alert Count                   1
First Seen                    Wed 20 Jan 2010 01:47:25 PM EST
Last Seen                     Wed 20 Jan 2010 01:47:25 PM EST
Local ID                      6ed6a09b-635b-4a88-bb8b-4b64b390461c
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1264013245.869:48): avc:  denied  { sendto } for  pid=9274 comm="firefox" scontext=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c883,c963 tcontext=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c883,c963 tclass=unix_dgram_socket

node=(removed) type=SYSCALL msg=audit(1264013245.869:48): arch=40000003 syscall=102 success=no exit=-13 a0=9 a1=bfe7f364 a2=1302608 a3=0 items=0 ppid=9258 pid=9274 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="firefox" exe="/usr/lib/firefox-3.5.6/firefox" subj=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c883,c963 key=(null)



Hash String generated from  selinux-policy-3.6.32-69.fc12,catchall,firefox,sandbox_web_client_t,sandbox_web_client_t,unix_dgram_socket,sendto
audit2allow suggests:

#============= sandbox_web_client_t ==============
allow sandbox_web_client_t self:unix_dgram_socket sendto;

Comment 1 Daniel Walsh 2010-01-22 13:47:56 UTC
Created attachment 386145 [details]
Patch to make sandbox match Rawhide policy

Miroslav could you add this patch to F12?

Comment 2 Miroslav Grepl 2010-01-22 14:42:26 UTC
Fixed in selinux-policy-3.6.32-76.fc12.noarch

Comment 3 Fedora Update System 2010-01-28 09:22:48 UTC
selinux-policy-3.6.32-78.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-78.fc12

Comment 4 Fedora Update System 2010-01-29 03:28:05 UTC
selinux-policy-3.6.32-78.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1207

Comment 5 Fedora Update System 2010-02-02 01:20:10 UTC
selinux-policy-3.6.32-78.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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