CVE-2022-24756
Bareos vulnerability
Bareos is open source software for backup, archiving, and recovery of data for operating systems. When Bareos Director >= 18.2 but prior to 21.1.0, 20.0.6, and 19.2.12 is built and configured for PAM authentication, a failed PAM authentication will leak a small amount of memory. An attacker that is able to use the PAM Console (i.e. by knowing the shared secret or via the WebUI) can flood the Director with failing login attempts which will eventually lead to an out-of-memory condition in which the Director will not work anymore. Bareos Director versions 21.1.0, 20.0.6 and 19.2.12 contain a Bugfix for this problem. Users who are unable to upgrade may disable PAM authentication as a workaround.
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-jh55-4wgw-xc9j · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-24756
- cve.org/CVERecord?id=CVE-2022-24756
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.