CVE-2020-4042 Authentication bypass in Bareos

Medium 6.8 Published Updated

A malicious client can bypass authentication in Bareos by replaying challenges, allowing unauthorized communication with the director.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-4042?

CVE-2020-4042 is a medium-severity authentication bypass vulnerability in bareos, published on 10 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-294

Which versions are affected by CVE-2020-4042?

It affects 1 product.

Products include Bareos Bareos.

How do I fix CVE-2020-4042?

Upgrade to a fixed version.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2020-4042 being exploited?

There is no known exploitation of CVE-2020-4042 in the wild and no public exploit code.

Sources

Also known as CLEANSTART-2024-ZR44827, GHSA-vqpj-2vhj-h752, UBUNTU-CVE-2020-4042.

Is CVE-2020-4042 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free