Bug 162405 - CAN-2004-2154 <Location ...> directive is case-sensitive in cupsd.conf but should not
CAN-2004-2154 <Location ...> directive is case-sensitive in cupsd.conf but sh...
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: cups (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
: Security
Depends On:
  Show dependency treegraph
Reported: 2005-07-04 03:41 EDT by Alessandro Crespi
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version: RHSA-2005-571
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-14 13:48:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alessandro Crespi 2005-07-04 03:41:39 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Description of problem:
The Location directives in cupsd.conf are case sensitive, so if I define an ACL for a print queue named "printer", it is not applied if I print to "Printer" or "prinTer". It is clearly not possible to enter ACLs for all possible cases (for "Printer" it would mean 128 possibilities...).

This issue is documented and has already been fixed in CUPS 1.1.21rc1 (see http://www.cups.org/str.php?L700).

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Add an ACL for a printer, for example:

<Location /printers/printer>

Then print to it by using a different case for the name (e.g. Printer).

Actual Results:  You can print circumvent the ACL.

Expected Results:  The Location directive must be treated in a case-insensitive way, as print queue names are.

Additional info:
Comment 1 Tim Waugh 2005-07-04 07:40:55 EDT
Thank you for reporting this.

Red Hat Enterprise Linux 3: vulnerable
Red Hat Enterprise Linux 4: not affected
Comment 7 Red Hat Bugzilla 2005-07-14 13:48:50 EDT
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.


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