Multiple vulnerabilities in Jenkins and Jenkins LTS



Published: 2024-01-25 | Updated: 2024-04-05
Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2024-23897
CVE-2024-23898
CWE-ID CWE-284
CWE-1385
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Jenkins
Server applications / Application servers

Jenkins LTS
Server applications / Application servers

Vendor Jenkins

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Improper access control

EUVDB-ID: #VU85786

Risk: High

CVSSv3.1: 9.1 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C]

CVE-ID: CVE-2024-23897

CWE-ID: CWE-284 - Improper Access Control

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to the affected application does not disable a feature of its CLI command parser that replaces an "@" character followed by a file path in an argument with the file’s contents. A remote attacker can read arbitrary files on the Jenkins controller file system, leading to arbitrary code execution.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Jenkins: 2.0 - 2.441

Jenkins LTS: 2.7.1 - 2.426.2

External links

http://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314
http://www.openwall.com/lists/oss-security/2024/01/24/6


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.

2) Missing Origin Validation in WebSockets

EUVDB-ID: #VU85790

Risk: High

CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-23898

CWE-ID: CWE-1385 - Missing Origin Validation in WebSockets

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to a cross-site WebSocket hijacking (CSWSH) issue when the affected application does not perform origin validation of requests made through the CLI WebSocket endpoint. A remote attacker can execute CLI commands on the Jenkins controller.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Jenkins: 2.204.2 - 2.441

Jenkins LTS: 2.222.1 - 2.426.2

External links

http://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3315
http://www.openwall.com/lists/oss-security/2024/01/24/6


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###