This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 2022763 - Secure_mode boolean allows staff SELinux user switch to unconfined
Summary: Secure_mode boolean allows staff SELinux user switch to unconfined
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: selinux-policy
Version: 8.5
Hardware: All
OS: Linux
high
medium
Target Milestone: rc
: 8.10
Assignee: Zdenek Pytela
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On: 1947841 2076681
Blocks: 1778780 2021529
TreeView+ depends on / blocked
 
Reported: 2021-11-12 14:41 UTC by Amogh Kulkarni
Modified: 2023-08-17 13:47 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1947841
Environment:
Last Closed: 2023-08-17 13:47:31 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-1460 0 None None None 2023-08-17 13:47:30 UTC
Red Hat Issue Tracker RHELPLAN-102621 0 None None None 2021-11-12 14:47:25 UTC

Comment 2 Zdenek Pytela 2021-11-19 12:17:23 UTC
It seems the reason is the role change was allowed unconditionally:

optional_policy(`
	unconfined_role_change(staff_r)
')

I've submitted a Fedora PR to address the issue:
https://github.com/fedora-selinux/selinux-policy/pull/948


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