PT-2022-16857 · Bareos · Bareos Director

Arogge

·

Published

2022-03-15

·

Updated

2022-03-24

·

CVE-2022-24755

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Bareos Director versions 18.2 through 21.1.0, excluding versions 21.1.0, 20.0.6, and 19.2.12 Bareos Director versions prior to 19.2.12, excluding version 19.2.12 Bareos Director versions prior to 20.0.6, excluding version 20.0.6 Bareos Director versions prior to 21.1.0, excluding version 21.1.0
However, the above can be simplified to: Bareos Director versions 18.2 through 20.0.5 Bareos Director versions 18.2 through 19.2.11
Description The issue affects Bareos Director when built and configured for PAM authentication, allowing expired accounts and accounts with expired passwords to login due to skipped authorization checks. This problem affects users with PAM enabled, as only plain authentication is performed, checking if the username and password match, without verifying if the account is expired or disabled.
Recommendations For Bareos Director versions 18.2 through 20.0.5, update to version 20.0.6 or later. For Bareos Director versions 18.2 through 19.2.11, update to version 19.2.12 or later. For Bareos Director versions prior to 21.1.0, update to version 21.1.0 or later. As a temporary workaround, ensure that authentication fails if the user is not authorized.

Exploit

Fix

Incorrect Authorization

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-24755
GHSA-4979-8FFJ-4Q26

Affected Products

Bareos Director