Debian DSA-5226-1 : pcs - security update

high Nessus Plugin ID 164812

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 11 host has packages installed that are affected by multiple vulnerabilities as referenced in the dsa-5226 advisory.

- A flaw was found in the Pacemaker configuration tool (pcs). The pcs daemon was allowing expired accounts, and accounts with expired passwords to login when using PAM authentication. Therefore, unprivileged expired accounts that have been denied access could still login. (CVE-2022-1049)

- A vulnerability was found in the PCS project. This issue occurs due to incorrect permissions on a Unix socket used for internal communication between PCS daemons. A privilege escalation could happen by obtaining an authentication token for a hacluster user. With the hacluster token, this flaw allows an attacker to have complete control over the cluster managed by PCS. (CVE-2022-2735)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the pcs packages.

For the stable distribution (bullseye), these problems have been fixed in version 0.10.8-1+deb11u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018930

https://security-tracker.debian.org/tracker/source-package/pcs

https://www.debian.org/security/2022/dsa-5226

https://security-tracker.debian.org/tracker/CVE-2022-1049

https://security-tracker.debian.org/tracker/CVE-2022-2735

https://packages.debian.org/source/bullseye/pcs

Plugin Details

Severity: High

ID: 164812

File Name: debian_DSA-5226.nasl

Version: 1.3

Type: local

Agent: unix

Published: 9/7/2022

Updated: 10/12/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.1

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS Score Source: CVE-2022-1049

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:pcs, p-cpe:/a:debian:debian_linux:pcs-snmp, cpe:/o:debian:debian_linux:11.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/6/2022

Vulnerability Publication Date: 3/25/2022

Reference Information

CVE: CVE-2022-1049, CVE-2022-2735