CVE-2022-24755
JSON

8.1high

Incorrect Authorization in Bareos Director

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
2.02% (higher than 81% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
bareos bareos>= 18.2, < 19.2.12, >= 20.0.0, < 20.0.6, >= 21.0.0, < 21.1.0, from 18.2 before 19.2.12, from 20.0.0 before 20.0.6, from 21.0.0 before 21.1.0CVE List, NVD

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

CWE-863

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Bareos es un software de código abierto para realizar copias de seguridad, archivar y recuperar datos de sistemas operativos. Cuando Bareos Director versiones posteriores a 18.2 incluyéndola, pero anteriores a 21.1.0, 20.0.6 y 19.2.12, es construido y configurado para la autenticación PAM, omitirá completamente las comprobaciones de autorización. Las cuentas caducadas y las cuentas con contraseñas caducadas pueden seguir iniciando sesión. Este problema afectará a usuarios que tengan habilitado PAM. Actualmente no se presenta autorización (por ejemplo, comprobar si se presentan cuentas caducadas o deshabilitadas), sino sólo autenticación simple (es decir, comprobar si el nombre de usuario y la contraseña coinciden). Bareos Director versiones 21.1.0, 20.0.6 y 19.2.12, implementan la comprobación de autorización que antes no se presentaba. La única medida de mitigación es asegurarse de que la autenticación falle si el usuario no está autorizado

References

Sources

SourceRecordLicence
CVE ListCVE-2022-24755 changed 2025-04-22CVE Terms of Use
NVDCVE-2022-24755 changed 2026-06-17Public domain