Description

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 the Jenkins controller.

INFO

Published Date :

Jan. 24, 2024, 6:15 p.m.

Last Modified :

Nov. 21, 2024, 8:58 a.m.

Source :

jenkinsci-cert@googlegroups.com

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2024-23898 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-23898 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Jenkins jenkins

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 3 weeks ago
1 stars 0 fork 0 watcher
Born at : March 24, 2025, 2:40 a.m. This repo has been linked 1 different CVEs too.

A proof of concept cross-site WebSocket hijacking exploit for CVE-2024-23898 — a vulnerability affecting Jenkins versions 2.217-2.441. For educational use in the Hacking & Offensive Security course at Carnegie Mellon University.

HTML Python Groovy

Updated: 3 weeks ago
1 stars 0 fork 0 watcher
Born at : Nov. 14, 2024, 12:02 a.m. This repo has been linked 1 different CVEs too.

[CVE-2024-23897] Jenkins CI Authenticated Arbitrary File Read Through the CLI Leads to Remote Code Execution (RCE)

cve-2024-23897

Updated: 1 week, 4 days ago
0 stars 0 fork 0 watcher
Born at : May 7, 2024, 11 a.m. This repo has been linked 3 different CVEs too.

Workaround for disabling the CLI to mitigate SECURITY-3314/CVE-2024-23897 and SECURITY-3315/CVE-2024-23898

Groovy

Updated: 2 weeks, 1 day ago
7 stars 2 fork 2 watcher
Born at : Jan. 23, 2024, 7:19 p.m. This repo has been linked 2 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 1 day, 1 hour ago
6834 stars 1157 fork 1157 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 849 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-23898 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-23898 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2024/01/24/6
    Added Reference https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3315
    Added Reference https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/
  • CVE Modified by jenkinsci-cert@googlegroups.com

    May. 14, 2024

    Action Type Old Value New Value
    Added Reference Jenkins Project https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/ [No types assigned]
  • CVE Modified by jenkinsci-cert@googlegroups.com

    Feb. 29, 2024

    Action Type Old Value New Value
    Added Reference Jenkins Project http://www.openwall.com/lists/oss-security/2024/01/24/6 [No types assigned]
  • Initial Analysis by nvd@nist.gov

    Jan. 31, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3315 No Types Assigned https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3315 Vendor Advisory
    Added CWE NIST CWE-346
    Added CPE Configuration OR *cpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:* versions from (including) 2.217 up to (including) 2.441 *cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:* versions from (including) 2.222.1 up to (including) 2.426.2
  • CVE Modified by jenkinsci-cert@googlegroups.com

    Jan. 25, 2024

    Action Type Old Value New Value
    Removed Reference Jenkins Project http://www.openwall.com/lists/oss-security/2024/01/24/6
  • CVE Received by jenkinsci-cert@googlegroups.com

    Jan. 24, 2024

    Action Type Old Value New Value
    Added Description 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 the Jenkins controller.
    Added Reference Jenkins Project https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3315 [No types assigned]
    Added Reference Jenkins Project http://www.openwall.com/lists/oss-security/2024/01/24/6 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
10010090908080707060605050404030302020101000Jan. 31, 2024Jan. 31, 2024Feb. 1, 2024Feb. 1, 2024April 16, 2024April 16, 2024Dec. 24, 2024Dec. 24, 2024Jan. 30, 2025Jan. 30, 2025Feb. 25, 2025Feb. 25, 2025March 17, 2025March 17, 2025March 24, 2025March 24, 2025March 25, 2025March 25, 2025March 27, 2025March 27, 2025March 28, 2025March 28, 2025
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-23898 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-23898 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

61.86 }} -8.79%

score

0.98187

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability