Stored cross-site scripting in Pipeline: Build Step - CVE-2023-25762
Published: February 21, 2023
Vulnerability details
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to the affected plugin does not escape job names in a JavaScript expression used in the Pipeline Snippet Generator. A remote user can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Affected software
Red Hat OpenShift Container Platform
OpenShift Developer Tools and Services
cri-o (Red Hat package)
jenkins (Red Hat package)
jenkins-2-plugins (Red Hat package)
How to mitigate CVE-2023-25762
Red Hat OpenShift Container Platform - update to 4.10.58
cri-o (Red Hat package) - addressed in versions 1.23.5-10.rhaos4.10.gitcc8441d.el7, 1.23.5-10.rhaos4.10.gitcc8441d.el8
jenkins (Red Hat package) - addressed in versions 2.387.1.1681718871-1.el8, 2.387.1.1683009763-3.el8, 2.387.1.1683009767-3.el8, 2.387.3.1684911776-3.el8, 2.414.3.1698292201-3.el8, 2.414.3.1698293911-3.el8, 2.414.3.1698298955-3.el8, 2.426.3.1706515686-3.el8, 2.426.3.1706516254-3.el8, 2.426.3.1706516352-3.el8, 2.426.3.1706516929-3.el8
jenkins-2-plugins (Red Hat package) - addressed in versions 4.10.1681719745-1.el8, 4.11.1683009941-1.el8, 4.11.1698299029-1.el8, 4.11.1706516946-1.el8, 4.12.1683009955-1.el8, 4.12.1698294000-1.el8, 4.12.1706515741-1.el8, 4.13.1684911916-1.el8, 4.13.1698292274-1.el8, 4.13.1706516346-1.el8, 4.14.1706516441-1.el8
External References
Related Security Bulletins
- Stored cross-site scripting in Jenkins Pipeline: Build Step plugin
- Multiple vulnerabilities in OpenShift Container Platform 4.10
- OpenShift Developer Tools and Services for OCP 4.11 update for jenkins and jenkins-2-plugins
- OpenShift Developer Tools and Services for OCP 4.12 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.13 update for jenkins and jenkins-2-plugins
- Red Hat Product OCP Tools 4.12 update for Openshift Jenkins
- Red Hat Product OCP Tools 4.11 update for Openshift Jenkins
- 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.14 update for jenkins and jenkins-2-plugins
- OpenShift Developer Tools and Services for OCP 4.12 update for Jenkins and Jenkins-2-plugins