Bug 639579

Summary: SELinux is preventing /usr/bin/gtk-gnash "name_connect" access .
Product: [Fedora] Fedora Reporter: Hicham HAOUARI <hicham.haouari>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 14CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:721848665e162952248f72a77a314b8b9a0128ee1acda7c06889aa28776465a5
Fixed In Version: selinux-policy-3.9.5-10.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-05 13:09:04 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 Hicham HAOUARI 2010-10-02 11:07:17 UTC
Summary:

SELinux is preventing /usr/bin/gtk-gnash "name_connect" access .

Detailed Description:

SELinux denied access requested by gtk-gnash. It is not expected that this
access is required by gtk-gnash 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                system_u:object_r:http_port_t:s0
Target Objects                None [ tcp_socket ]
Source                        gtk-gnash
Source Path                   /usr/bin/gtk-gnash
Port                          80
Host                          (removed)
Source RPM Packages           gnash-0.8.8-2.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.5-8.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.6-37.fc14.i686
                              #1 SMP Fri Oct 1 06:20:51 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Sat 02 Oct 2010 11:05:33 AM WET
Last Seen                     Sat 02 Oct 2010 11:05:33 AM WET
Local ID                      5a0d0856-79cc-4090-a792-f62143f49b2f
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1286017533.638:18843): avc:  denied  { name_connect } for  pid=6872 comm="gtk-gnash" dest=80 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:http_port_t:s0 tclass=tcp_socket

node=(removed) type=SYSCALL msg=audit(1286017533.638:18843): arch=40000003 syscall=102 success=no exit=-115 a0=3 a1=bfeb4030 a2=7d6fd88 a3=0 items=0 ppid=6606 pid=6872 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="gtk-gnash" exe="/usr/bin/gtk-gnash" subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,gtk-gnash,mozilla_plugin_t,http_port_t,tcp_socket,name_connect
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t http_port_t:tcp_socket name_connect;

Comment 1 Daniel Walsh 2010-10-03 10:58:56 UTC
Fixed in selinux-policy-3.9.5-9.fc14

Comment 2 Fedora Update System 2010-10-04 19:36:59 UTC
selinux-policy-3.9.5-10.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.5-10.fc14

Comment 3 Fedora Update System 2010-10-05 13:06:23 UTC
selinux-policy-3.9.5-10.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.