Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 953874 - AVC denial in squid
AVC denial in squid
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy (Show other bugs)
5.9
All Linux
medium Severity medium
: rc
: ---
Assigned To: Miroslav Grepl
Milos Malik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-19 07:47 EDT by Hubert Kario
Modified: 2013-09-30 18:25 EDT (History)
3 users (show)

See Also:
Fixed In Version: selinux-policy-2.4.6-339.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-09-30 18:25:15 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1312 normal SHIPPED_LIVE selinux-policy bug fix update 2013-09-30 17:13:27 EDT

  None (edit)
Description Hubert Kario 2013-04-19 07:47:41 EDT
Description of problem:
AVC denial while fetching file through squid with kerberos authentication

How reproducible:
Always

Steps to Reproduce:
1. Setup squid with kerberos authentication
2. Use curl to access some internet site
  
Actual results:
time->Tue Apr 16 08:11:44 2013
type=SYSCALL msg=audit(1366114304.233:42): arch=c000003e syscall=42 success=no exit=-13 a0=19 a1=1fd9a614 a2=10 a3=0 items=0 ppid=11987 pid=11989 auid=4294967295 uid=23 gid=23 euid=23 suid=0 fsuid=23 egid=23 sgid=23 fsgid=23 tty=(none) ses=4294967295 comm="squid" exe="/usr/sbin/squid" subj=root:system_r:squid_t:s0 key=(null)
type=AVC msg=audit(1366114304.233:42): avc:  denied  { name_connect } for  pid=11989 comm="squid" dest=113 scontext=root:system_r:squid_t:s0 tcontext=system_u:object_r:auth_port_t:s0 tclass=tcp_socket
----
time->Tue Apr 16 08:11:44 2013
type=SYSCALL msg=audit(1366114304.647:43): arch=c000003e syscall=42 success=no exit=-13 a0=19 a1=1fd9a614 a2=10 a3=1fd9dc90 items=0 ppid=11987 pid=11989 auid=4294967295 uid=23 gid=23 euid=23 suid=0 fsuid=23 egid=23 sgid=23 fsgid=23 tty=(none) ses=4294967295 comm="squid" exe="/usr/sbin/squid" subj=root:system_r:squid_t:s0 key=(null)
type=AVC msg=audit(1366114304.647:43): avc:  denied  { name_connect } for  pid=11989 comm="squid" dest=113 scontext=root:system_r:squid_t:s0 tcontext=system_u:object_r:auth_port_t:s0 tclass=tcp_socket


Expected results:
No AVC denials
Comment 2 RHEL Product and Program Management 2013-04-19 08:08:29 EDT
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.
Comment 3 Miroslav Grepl 2013-04-23 02:11:37 EDT
We allow it in Fedora/RHEL6.

#============= squid_t ==============

#!!!! This avc is allowed in the current policy
allow squid_t auth_port_t:tcp_socket name_connect;
Comment 8 errata-xmlrpc 2013-09-30 18:25:15 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1312.html

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