CVE-2024-45044
JSON

8.8high

Bareos's negative command ACLs can be circumvented by abbreviating commands

Severity
8.8high CVSS:3.1 by GitHub_M
Exploit likelihood
0.53% (higher than 46% 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 a command ACL is in place and a user executes a command in bconsole using an abbreviation (i.e. "w" for "whoami") the ACL check did not apply to the full form (i.e. "whoami") but to the abbreviated form (i.e. "w"). If the command ACL is configured with negative ACL that should forbid using the "whoami" command, you could still use "w" or "who" as a command successfully. Fixes for the problem are shipped in Bareos versions 23.0.4, 22.1.6 and 21.1.11. If only positive command ACLs are used without any negation, the problem does not occur.

Affected

Product or packageVersionsReported by
bareos bareos>= 23.0.0, < 23.0.4, >= 22.0.0, < 22.1.6, < 21.1.11, from 23.0.0 before 23.0.4, from 22.0.0 before 22.1.6, before 21.1.11CVE List

Classification

CWE-285

SSVC (CISA-ADP): exploitation none, 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 a command ACL is in place and a user executes a command in bconsole using an abbreviation (i.e. "w" for "whoami") the ACL check did not apply to the full form (i.e. "whoami") but to the abbreviated form (i.e. "w"). If the command ACL is configured with negative ACL that should forbid using the "whoami" command, you could still use "w" or "who" as a command successfully. Fixes for the problem are shipped in Bareos versions 23.0.4, 22.1.6 and 21.1.11. If only positive command ACLs are used without any negation, the problem does not occur.

NVD (es)

Bareos es un software de código abierto para realizar copias de seguridad, archivar y recuperar datos de sistemas operativos. Cuando hay una ACL de comando y un usuario ejecuta un comando en bconsole utilizando una abreviatura (es decir, "w" para "whoami"), la comprobación de la ACL no se aplica a la forma completa (es decir, "whoami"), sino a la forma abreviada (es decir, "w"). Si la ACL de comando está configurada con una ACL negativa que debería prohibir el uso del comando "whoami", aún podría usar "w" o "who" como comando correctamente. Las correcciones para el problema se incluyen en las versiones 23.0.4, 22.1.6 y 21.1.11 de Bareos. Si solo se utilizan ACL de comando positivas sin ninguna negación, el problema no ocurre.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-45044 changed 2024-09-10CVE Terms of Use
NVDCVE-2024-45044 changed 2026-06-17Public domain