Missing Origin Validation in WebSockets in Jenkins and Jenkins LTS - CVE-2024-23898
Published: January 25, 2024 / Updated: March 31, 2025
Vulnerability details
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.
Affected software
Jenkins LTS
OpenShift Developer Tools and Services
jenkins (Red Hat package)
jenkins-2-plugins (Red Hat package)
How to mitigate CVE-2024-23898
Jenkins LTS - update to 2.426.3
jenkins (Red Hat package) - addressed in versions 2.426.3.1706515686-3.el8, 2.426.3.1706516254-3.el8, 2.426.3.1706516929-3.el8
jenkins-2-plugins (Red Hat package) - addressed in versions 4.11.1706516946-1.el8, 4.12.1706515741-1.el8, 4.13.1706516346-1.el8
Links to Public Exploits and PoC-codes
External References
Related Security Bulletins
- Multiple vulnerabilities in Jenkins and Jenkins LTS
- OpenShift Developer Tools and Services for OCP 4.11 update for jenkins and jenkins-2-plugins
- OpenShift Developer Tools and Services for OCP 4.13 update for jenkins and jenkins-2-plugins
- OpenShift Developer Tools and Services for OCP 4.12 update for Jenkins and Jenkins-2-plugins