CVE-2019-10396: Jenkins Dashboard View Plugin Cross-site Scripting Vulnerability
Summary
CVE-2019-10396: Jenkins Dashboard View Plugin vulnerable to Cross-site Scripting. Affects org.jenkins-ci.plugins:dashboard-view versions < 2.12. Fixed in 2.12. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Jenkins Dashboard View Plugin is a plugin for the Jenkins automation server that provides a customizable dashboard view for monitoring the latest builds. It allows users to view the build descriptions and other relevant information in a visually appealing manner. However, the plugin is vulnerable to a cross-site scripting (XSS) attack.
Vulnerability Detail
The Dashboard View Plugin did not properly escape the build description on the Latest Builds View, making it susceptible to a cross-site scripting vulnerability. Attackers who can control the description of builds shown on that view can exploit this vulnerability. By injecting malicious scripts into the build description, an attacker can execute arbitrary code in the context of the user's browser, potentially leading to unauthorized access, data theft, or other malicious activities.
How To Fix
Minimum fixed version
2.12
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
If updating the plugin is not immediately feasible, a temporary workaround is to disable the Latest Builds View or restrict access to it. By removing the ability for users to view the build descriptions on the vulnerable view, the risk of exploitation can be reduced. However, this is only a temporary solution, and updating the plugin should be prioritized.
Conclusion
The Jenkins Dashboard View Plugin is vulnerable to a cross-site scripting (XSS) attack due to improper escaping of the build description. To mitigate this vulnerability, it is recommended to update the plugin to version 2.12 or later. If immediate updating is not feasible, a temporary workaround is to disable or restrict access to the vulnerable view. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.jenkins-ci.plugins:dashboard-view →
FAQ
Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to various attacks, such as session hijacking, data theft, or defacement of websites.
An attacker who can control the build description on the Latest Builds View can inject malicious scripts into it. When other users view the vulnerable view, these scripts will be executed in their browsers, allowing the attacker to perform actions on their behalf.
Exploiting this vulnerability can lead to unauthorized access to sensitive information, data theft, or the execution of arbitrary code in the context of the user's browser. This can result in further compromise of the Jenkins server or the user's system.
Yes, updating the Dashboard View Plugin to version 2.12 or later will fix this vulnerability. The updated version properly escapes the build description, mitigating the risk of cross-site scripting attacks.
A temporary workaround is to disable the Latest Builds View or restrict access to it. By removing the ability for users to view the build descriptions on the vulnerable view, the risk of exploitation can be reduced. However, updating the plugin should be prioritized.
References
Related vulnerabilities
Recent vulnerabilities recorded for org.jenkins-ci.plugins:dashboard-view.