HomeClusterLabs Projects

High: pacemakerd: ignore shutdown requests from unprivileged users

Description

High: pacemakerd: ignore shutdown requests from unprivileged users

This is a partial fix (along with one previous and one later commit) for
CVE-2020-25654.

The pacemakerd IPC API supports a shutdown request, along with a
command-line interface for using it (pacemakerd --shutdown).

Only the haclient group has access to the IPC. Without ACLs, that group can
already shut down Pacemaker via the CIB, so there's no security implication.

However, it might not be desired to allow ACL-restricted users to shut down
Pacemaker, so block users other than root or hacluster if ACLs are supported.

Details

Provenance
kgaillotAuthored on Oct 9 2020, 12:17 PM
Parents
rP59933b085277: Low: pacemakerd: check client for NULL before using it
Branches
Unknown
Tags
Unknown

Event Timeline