Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 125007

Summary: insecure permissions for squid.conf
Product: Red Hat Enterprise Linux 3 Reporter: Jason Gallagher <jason>
Component: squidAssignee: Jay Fenlason <fenlason>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: jfeeney
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2005-489 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-13 12:08:41 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 Jason Gallagher 2004-06-02 00:31:02 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2)
Gecko/20040301

Description of problem:
/etc/squid/squid.conf may contain a plaintext password in the
cachemgr_passwd directive. Users with access may be able to see the
list of cached objects and shutdown the cache itself. A message on the
mailing list suggests non-world-readable permissions for this file
(http://www.squid-cache.org/mail-archive/squid-users/200201/0539.html).
I suggest using ownership root:squid and permissions 0640. A fix to
the SPEC file might be:

130c130
< %config(noreplace) /etc/squid/squid.conf
---
> %config(noreplace) %attr(640,root,squid) /etc/squid/squid.conf


Version-Release number of selected component (if applicable):
squid-2.5.STABLE3-5.3E

How reproducible:
Always

Steps to Reproduce:
1. install
2. examine permissions of /etc/squid/squid.conf

    

Actual Results:  File readable by all users.

Expected Results:  Should be readable only by root and user 'squid'.

Additional info:

Comment 1 Josh Bressers 2005-06-02 17:40:17 UTC
This issue also affects RHEL2.1

Comment 2 Josh Bressers 2005-06-13 12:08:41 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2005-489.html