CVE-2022-24755

NameCVE-2022-24755
DescriptionBareos 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bareos (PTS)jessie14.2.1+20141017gitc6c5b56-3+deb8u3vulnerable
stretch16.2.4-3+deb9u2fixed
buster16.2.6-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
bareossourcejessie(unfixed)end-of-life
bareossourcestretch(not affected)
bareossourcebuster(not affected)
bareossource(unstable)(unfixed)

Notes

[buster] - bareos <not-affected> (PAM support not yet present)
[stretch] - bareos <not-affected> (PAM support not yet present)
https://github.com/bareos/bareos/security/advisories/GHSA-4979-8ffj-4q26
https://github.com/bareos/bareos/pull/1115
https://github.com/bareos/bareos/pull/1119
https://github.com/bareos/bareos/pull/1121
https://huntr.dev/bounties/480121f2-bc3c-427e-986e-5acffb1606c5/

Search for package or bug name: Reporting problems