Improper access control in Git server - CVE-2024-23899

 

Improper access control in Git server - CVE-2024-23899

Published: January 25, 2024


Vulnerability identifier: #VU85791
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-23899
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

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


Affected software

Git server
OpenShift Developer Tools and Services
jenkins (Red Hat package)
jenkins-2-plugins (Red Hat package)

How to mitigate CVE-2024-23899

Install updates from vendor's website.

Git server - update to 99.101.v720e86326c09
jenkins (Red Hat package) - addressed in versions 2.440.3.1716387933-3.el8, 2.440.3.1716445150-3.el8, 2.440.3.1716445200-3.el8
jenkins-2-plugins (Red Hat package) - addressed in versions 4.12.1716445211-1.el8, 4.13.1716445207-1.el8, 4.14.1716388016-1.el8

External References

Related Security Bulletins