CVE-2024-23898
jenkins: cross-site WebSocket hijacking
Overview
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.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-346
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | jenkins | >=2.217.0, <2.452.1 | 2.452.1 |
| Maven | org.jenkins-ci.main:jenkins-core | >=2.217, <2.426.3>=2.427, <2.442=2.441 | 2.426.32.442 |
Open a package to see all its vulnerabilities.
Operating systems · 2 fixes
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | jenkins | wont fix |
alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| edge | jenkins | 2.426.3-r0 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2024/01/24/6
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-23898
- github.com https://github.com/jenkinsci/jenkins
- github.com https://github.com/jenkinsci/jenkins/commit/de450967f38398169650b55c002f1229a3fcdb1b
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-23898
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-23898
- www.jenkins.io https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3315
- www.sonarsource.com https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins
- www.sonarsource.com https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.