Bareos's negative command ACLs can be circumvented by abbreviating commands
Key facts
- Attack vector
- Network
- Privileges required
- Low
- 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 · CNA. Fix status from CNA. Impact type from CWE-285.
Summary
Bareos is open source software for backup, archiving, and recovery of data for operating systems. When a command ACL is in place and a user executes a command in bconsole using an abbreviation (i.e. "w" for "whoami") the ACL check did not apply to the full form (i.e. "whoami") but to the abbreviated form (i.e. "w"). If the command ACL is configured with negative ACL that should forbid using the "whoami" command, you could still use "w" or "who" as a command successfully. Fixes for the problem are shipped in Bareos versions 23.0.4, 22.1.6 and 21.1.11. If only positive command ACLs are used without any negation, the problem does not occur.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- 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 | 23.0.0 to before 23.0.4; 22.0.0 to before 22.1.6; before 21.1.11 | 23.0.4, 22.1.6, 21.1.11 | Patch available | CNA |
- bareos Vendorbareos Affected 23.0.0 to before 23.0.4; 22.0.0 to before 22.1.6; before 21.1.11 Fixed in 23.0.4, 22.1.6, 21.1.11 Patch available CNA
Remediation
- Fix · CNA bareos (bareos) Fixed in 23.0.4, 22.1.6, 21.1.11
Timeline
- 2026-10-02 Threatist record created from CVE-2024-45044
References
More bareos vulnerabilities
- TI-2022-08569 Incorrect Authorization in Bareos Director CVSS 3.1CRITICAL 9.8
- 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