CVE-2020-4042 in Bareos
Bareos before version 19.2.8 and earlier allows a malicious client to communicate with the director without knowledge of the shared secret if the director allows client initiated connection and connects to the client itself. The malicious client can replay the Bareos director's cram-md5 challenge to the director its...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Bareos | Bareos | 19.2.8 ≤ 19.2.7 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Bareos before version 19.2.8 and earlier allows a malicious client to communicate with the director without knowledge of the shared secret if the director allows client initiated connection and connects to the client itself. The malicious client can replay the Bareos director's cram-md5 challenge to the director itself leading to the director responding to the replayed challenge. The response obtained is then a valid reply to the directors original challenge. This is fixed in version 19.2.8.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-4042 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-198738-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N |
| Published | 2020-07-10 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-294: CWE-294
Related attack patterns (CAPEC)
CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-294
CAPEC-102 Session Sidejacking via CWE-294
CAPEC-509 Kerberoasting via CWE-294
CAPEC-561 Windows Admin Shares with Stolen Credentials via CWE-294
CAPEC-644 Use of Captured Hashes (Pass The Hash) via CWE-294
Show all 10
CAPEC-645 Use of Captured Tickets (Pass The Ticket) via CWE-294
CAPEC-555 Remote Services with Stolen Credentials via CWE-294
CAPEC-652 Use of Known Kerberos Credentials via CWE-294
CAPEC-701 Browser in the Middle (BiTM) via CWE-294
CAPEC-94 Adversary in the Middle (AiTM) via CWE-294
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2020-4042 affects Bareos versions before 19.2.8, allowing a malicious client to communicate with the director without the shared secret if client-initiated connections are allowed.
A malicious client can replay the Bareos director's cram-md5 challenge to the director itself, leading to the director responding to the replayed challenge. This can be exploited if the director is configured to allow client-initiated connections and connects to the client.
Questions
What is CVE-2020-4042?
CVE-2020-4042 affects Bareos versions before 19.2.8, allowing a malicious client to communicate with the director without the shared secret if client-initiated connections are allowed.
What is the CVSS score for CVE-2020-4042?
CVE-2020-4042 has CVSS 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N. EPSS: 1.0%.
Is CVE-2020-4042 actively exploited?
No confirmed active exploitation of CVE-2020-4042 as of 2026-05-30.
How do I remediate CVE-2020-4042?
Priority: MEDIUM. Advisory: https://bugs.bareos.org/view.php?id=1250 PSIRT: [email protected]
What systems are affected by CVE-2020-4042?
CVE-2020-4042 affects Bareos Bareos.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Bareos","product":"Bareos","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.