Bug 234889 - [LSPP] querying cups jobs with sysadm_r does not override mls restrictions
[LSPP] querying cups jobs with sysadm_r does not override mls restrictions
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
: OtherQA
Depends On:
  Show dependency treegraph
Reported: 2007-04-02 15:00 EDT by Klaus Heinrich Kiwi
Modified: 2010-10-22 10:09 EDT (History)
4 users (show)

See Also:
Fixed In Version: RHBA-2007-0544
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-07 11:38:49 EST
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 Klaus Heinrich Kiwi 2007-04-02 15:00:56 EDT
Description of problem:
When querying jobs with sysadm_r role using lpq or lpstat, cups is not
overriding mls (sysadm_t has mlsfileread attribute)

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

How reproducible:
every time

Steps to Reproduce:
1. Log-in as any SystemHigh-SystemHigh user
2. Print/enqueue a job
3. Log in as sysadm_r/SystemLow(-SystemHigh) user
4. query jobs using lpq -al $job# or lpstat -W all $InstanceName
Actual results:
even root/sysadm_r/sysadm_t can't see jobs above it's clearance

Expected results:
sysadm_r should be able to see jobs above it's clearance, because of mlsfileread
 policy attribute

Additional info:
Is this actually stricter than LSPP? I'm ok with it given that LSPP/RBAC also
are. Either way this needs to be fixed or documented.
Comment 1 Daniel Walsh 2007-04-02 17:14:59 EDT
fixes in selinux-policy-2.4.6-50
Comment 3 RHEL Product and Program Management 2007-04-02 20:11:05 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
Comment 5 Klaus Heinrich Kiwi 2007-07-31 16:08:49 EDT
verified fix against selinux-policy-mls-2.4.6-67.el5 and cups-1.2.4-11.8.el5

please close the bug
Comment 8 errata-xmlrpc 2007-11-07 11:38:49 EST
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.