REDHAT-BUG-1379784: Medium severity ClusterLabs Pacemaker vulnerability
If a corosync node is connected to a pacemakerremote node, the connection can be trivially killed simply by connecting to the remote on its standard TCP port (typically 3121):
2016-02-18T18:06:45.258661+00:00 d52-54-77-77-77-01 crmd[2637]: error: Unexpected pacemakerremote client takeover. Disconnecting
Takeover is allowed in order to support migration of the remote primitive from one corosync node to another, but since this is a trivial denial of service attack, it should only be allowed once a valid authkey is provided.
=> Upstream bug : - Bug 5269 - DoS: valid authkey should be required for takeover of a Pacemaker remote http://bugs.clusterlabs.org/showbug.cgi?id=5269
=> Upstream fix : - Fix: remote: cl#5269 - Notify other clients of a new connection only if the handshake has completed (bsc#967388) https://github.com/ClusterLabs/pacemaker/commit/5ec24a26
Resolved in upstream pacemaker 1.1.15
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pacemakerto a version that resolves this vulnerability.Fixed in 1.1.15
Event History
Frequently Asked Questions
Which deployments are exposed to this denial-of-service condition?
Deployments where a corosync node is connected to a pacemaker_remote node are exposed. The affected service listens on its standard TCP port, typically 3121.
What does an attacker need to do to disrupt the connection?
An attacker only needs to connect to the pacemaker_remote service's TCP port. Before the fix, a connection takeover could occur without first providing a valid authkey, causing the existing connection to be disconnected.
What change addresses the issue?
The upstream fix requires a valid authkey before takeover is allowed and only notifies other clients of a new connection after the handshake completes. It was resolved upstream in Pacemaker 1.1.15.