Incorrect Authorization in Bareos Director
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-863.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| bareos | bareos | 18.2 to before 19.2.12; 20.0.0 to before 20.0.6; 21.0.0 to before 21.1.0 | 19.2.12, 20.0.6, 21.1.0 | Patch available | CNA |
- bareos Vendorbareos Affected 18.2 to before 19.2.12; 20.0.0 to before 20.0.6; 21.0.0 to before 21.1.0 Fixed in 19.2.12, 20.0.6, 21.1.0 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:bareos:bareos:*:*:*:*:*:*:*:* | 18.2 to before 19.2.12; 20.0.0 to before 20.0.6; 21.0.0 to before 21.1.0 | Vulnerable | bareos |
- cpe:2.3:a:bareos:bareos:*:*:*:*:*:*:*:* Versions 18.2 to before 19.2.12; 20.0.0 to before 20.0.6; 21.0.0 to before 21.1.0 Vulnerable ·bareos
Remediation
- Fix · CNA bareos (bareos) Fixed in 19.2.12, 20.0.6, 21.1.0
Timeline
- 2026-10-02 Threatist record created from CVE-2022-24755
References
More Bareos vulnerabilities
- TI-2022-08570 Missing Release of Memory after Effective Lifetime in Bareos Director CVSS 3.1HIGH 7.5
- TI-2020-08935 Heap-based Buffer Overflow in Bareos Director CVSS 3.1HIGH 7.4
- TI-2017-10707 bareos-dir, bareos-fd, and bareos-sd in bareos-core in Bareos 16.2.6 and earlier create a… CVSS 3.0HIGH 7.8
- TI-2020-03531 Authentication bypass in Bareos CVSS 3.1MEDIUM 6.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences