Vulnerability · Published Mar 15, 2022 · Assigned by GitHub_M
CVE-2022-24755Incorrect Authorization in Bareos Director
High 8.1
In plain English
A high-severity incorrect authorization in bareos from bareos. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities).
Official 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 products (as reported)
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/bareos/bareos/security/advisories/GHSA-4979-8ffj-4q26 x_refsource_CONFIRM
- https://github.com/bareos/bareos/pull/1115 x_refsource_MISC
- https://github.com/bareos/bareos/pull/1119 x_refsource_MISC
- https://github.com/bareos/bareos/pull/1121 x_refsource_MISC
- https://huntr.dev/bounties/480121f2-bc3c-427e-986e-5acffb1606c5/ x_refsource_MISC