CVE-2022-24755
Bareos vulnerability
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
Bareos. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Bareos runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/bareos/bareos/pull/1115 · Patch
- github.com/bareos/bareos/pull/1119 · Patch
- github.com/bareos/bareos/pull/1121 · Patch
- huntr.dev/bounties/480121f2-bc3c-427e-986e-5acffb1606c5/ · Exploit
- github.com/bareos/bareos/security/advisories/GHSA-4979-8ffj-4q26 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-24755
- cve.org/CVERecord?id=CVE-2022-24755
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.