CVE-2023-25561 Login fail open on JAAS misconfiguration in DataHub

Medium 5.7 Published Updated

Attackers can bypass authentication and log in with any credentials if JAAS is misconfigured, granting unauthorized access to the DataHub platform.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-25561?

CVE-2023-25561 is a medium-severity authentication bypass vulnerability in datahub-project datahub, published on 10 Feb 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

DataHub is an open-source metadata platform. In the event a system is using Java Authentication and Authorization Service (JAAS) authentication and that system is given a configuration which contains an error, the authentication for the system will fail open and allow an attacker to login using any username and password. The reason for this is that while an error is thrown in the `authenticateJaasUser` method it is swallowed without propagating the error. As a result of this issue unauthenticated users may gain access to the system. Users are advised to upgrade. There are no known workarounds for this issue. This vulnerability was discovered and reported by the GitHub Security lab and is tracked as GHSL-2022-081.

Weakness: CWE-755

Which versions are affected by CVE-2023-25561?

It affects 1 product.

Products include Datahub Datahub.

How do I fix CVE-2023-25561?

No fix has been published for CVE-2023-25561 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2023-25561 being exploited?

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

Sources

Also known as GHSA-7wc6-p6c4-522c.

Is CVE-2023-25561 in your software?

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

Check your SBOMs for free