CVE-2024-23898
Published: 24 January 2024
Summary
CVE-2024-23898 is a high-severity Origin Validation Error (CWE-346) vulnerability in Jenkins Jenkins. Its CVSS base score is 8.8 (High).
Operationally, ranked in the top 2.7% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
Jenkins versions 2.217 through 2.441, including LTS releases 2.222.1 through 2.426.2, are affected by a cross-site WebSocket hijacking vulnerability in the CLI WebSocket endpoint. The root cause is missing origin validation of requests to that endpoint, classified under CWE-346, which permits unauthorized WebSocket connections from arbitrary origins.
An unauthenticated remote attacker can exploit the flaw by luring an authenticated Jenkins user to a malicious web page. Successful CSWSH allows the attacker to issue arbitrary CLI commands that execute on the Jenkins controller, resulting in full compromise of confidentiality, integrity, and availability.
The Jenkins security advisory published on 24 January 2024 addresses SECURITY-3315 and provides mitigation guidance for affected installations. The associated EPSS score has remained flat at 0.3687 with no material increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-0256
Vulnerability details
Jenkins 2.217 through 2.441 (both inclusive), LTS 2.222.1 through 2.426.2 (both inclusive) does not perform origin validation of requests made through the CLI WebSocket endpoint, resulting in a cross-site WebSocket hijacking (CSWSH) vulnerability, allowing attackers to execute CLI commands on…
more
the Jenkins controller.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Requires unique identification of the service before communications, addressing failures to validate the origin of the interaction.
Trusted path establishment enforces validation that the communication originates from and reaches only the intended trusted system components.
Enforces validation of the true origin of DNS responses via signatures and chain-of-trust mechanisms.
Enforces origin validation of name/address data, eliminating reliance on unverified or impersonated DNS sources.
Mandates origin validation so that only legitimate endpoints can continue the authenticated session.