CVE-2023-25561
DataHub vulnerability analysis and mitigation

Overview

CVE-2023-25561 is a vulnerability in DataHub's Java Authentication and Authorization Service (JAAS) authentication system. When JAAS authentication is used and the given configuration file contains an error, the authentication fails open and allows an attacker to login as any user using any password. The vulnerability was discovered in September 2022 and disclosed in January 2023 (GitHub Security Lab).

Technical details

The vulnerability exists in the authenticateJaasUser method of the AuthenticationManager class. The only exception caught in the try-block is LoginException, while any other exceptions (like IOException from malformed JAAS configuration) are swallowed, allowing the login process to continue successfully. This means if the JAAS configuration file (e.g., jaas.conf) contains syntax errors, the authentication check is bypassed completely (GitHub Security Lab).

Impact

This vulnerability allows an attacker to bypass authentication completely and gain unauthorized access to the system. When exploited, any username and password combination would be accepted if the JAAS configuration contains errors, effectively compromising the entire authentication system (GitHub Security Lab).

Mitigation and workarounds

The vulnerability was addressed in DataHub's v0.8.45 release. Users should upgrade to this version or later to protect against this authentication bypass vulnerability (GitHub Security Lab).

Additional resources


SourceThis report was generated using AI

Related DataHub vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-25562CRITICAL9.8
  • DataHubDataHub
  • cpe:2.3:a:datahub_project:datahub
NoYesFeb 11, 2023
CVE-2024-22409HIGH8.8
  • DataHubDataHub
  • cpe:2.3:a:datahub_project:datahub
NoYesJan 16, 2024
CVE-2023-47640HIGH8.8
  • DataHubDataHub
  • cpe:2.3:a:datahub_project:datahub
NoYesNov 14, 2023
CVE-2023-47629HIGH8
  • DataHubDataHub
  • cpe:2.3:a:datahub_project:datahub
NoYesNov 14, 2023
CVE-2023-47628MEDIUM4.8
  • DataHubDataHub
  • cpe:2.3:a:datahub_project:datahub
NoYesNov 14, 2023

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management