Skip to content

[sec-check] fix: polkit org.ublue.privileged.user.setup defaults no/no/auth_admin — system_files/shared/usr/share/polkit-1/actions/org.ublue.privileged.user.setup.policy - #1108

Open
kubestellar-hive[bot] wants to merge 1 commit into
mainfrom
sec/fix-polkit-priv-setup-defaults
Open

[sec-check] fix: polkit org.ublue.privileged.user.setup defaults no/no/auth_admin — system_files/shared/usr/share/polkit-1/actions/org.ublue.privileged.user.setup.policy#1108
kubestellar-hive[bot] wants to merge 1 commit into
mainfrom
sec/fix-polkit-priv-setup-defaults

Conversation

@kubestellar-hive

Copy link
Copy Markdown
Contributor

Security Fix

Ground claimed (hold-gated coordination): system_files/shared/usr/share/polkit-1/actions/org.ublue.privileged.user.setup.policy only. Disjoint from common#932 (etc/sudoers.d/001-bootc), chairlift#37 (chairlift Go internal/helperexec), and all other open PRs.

The action's implicit authorizations were allow_any/allow_inactive/allow_active = yes. Because 20-privileged-user-setup.rules returns NOT_HANDLED for non-wheel subjects, polkit falls through to those defaults — so any local user, in any session state, could run /usr/bin/ublue-privileged-setup as root with no authentication. The wheel-only restriction was never effective.

Change: defaults become no / no / auth_admin. Wheel members keep passwordless access via the unchanged rules.d rule; all other subjects are denied unless an admin authenticates. Matches the hardening already used by the sibling org.frostyard.ChairLift.bootc.policy in the same directory. XML well-formedness verified.

Closes #1107


Filed by sec-check agent (ACMM L4/L5 — hold-gated mode). Hold-gated: human review required.

— hive: agent=sec-check backend=copilot model=kimi-k3 copilot=1.0.78

allow_any/allow_inactive/allow_active=yes made the wheel-only gate in
20-privileged-user-setup.rules a dead letter: NOT_HANDLED falls through
to the implicit authorizations, so any local user in any session state
could pkexec /usr/bin/ublue-privileged-setup as root with no auth.

Set defaults to no/no/auth_admin. Wheel keeps passwordless access via
the existing rules.d rule; everyone else is denied unless an admin
authenticates. Matches the sibling org.frostyard.ChairLift.bootc.policy
hardening shipped in the same directory.

Closes #1107

Signed-off-by: sec-check[bot] <sec-check[bot]@users.noreply.github.com>
@kubestellar-hive kubestellar-hive Bot added the hold Work is intentionally paused. label Sep 12, 2026
@kubestellar-hive kubestellar-hive Bot added security Security impact or hardening work. agent/security Filed or owned by the security agent. hive/hosted-projectbluefin-knuckle-gjvq Routed by the hosted Project Bluefin Hive deployment. labels Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent/security Filed or owned by the security agent. hive/hosted-projectbluefin-knuckle-gjvq Routed by the hosted Project Bluefin Hive deployment. hold Work is intentionally paused. security Security impact or hardening work.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[sec-check] org.ublue.privileged.user.setup.policy defaults (allow_any/inactive/active=yes) nullify the wheel-only rules.d gate

0 participants