Auth bypass in Bareos

CVE-2022-24755

Bareos is open source software for backup, archiving, and recovery of data for operating systems. When Bareos Director >= 18.2 >= 18.2 but prior to 21.1.0, 20.0.6, and 19.2.12 is built and configured for PAM authentication, it will skip authorization checks completely. Expired accounts and accounts with expired passwords can still login. This problem will affect users that have PAM enabled. Currently there is no authorization (e.g. check for expired or disabled accounts), but only plain authentication (i.e. check if username and password match). Bareos Director versions 21.1.0, 20.0.6 and 19.2.12 implement the authorization check that was previously missing. The only workaround is to make sure that authentication fails if the user is not authorized.

Vulnerability class: Broken Access Control

EPSS: 0.020 (78.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Bareos — versions >= 18.2, < 19.2.12, >= 20.0.0, < 20.0.6, >= 21.0.0, < 21.1.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-24755?
CVE-2022-24755 is a high-severity vulnerability in Bareos, classified under Incorrect Authorization. CVSS score: 8.1/10. Published 2022-03-15.
How severe is CVE-2022-24755?
High severity. CVSS v3 base score is 8.1 out of 10.