CVE-2018-1000175: Jenkins HTML Publisher Plugin path traversal vulnerability
Summary
CVE-2018-1000175: Jenkins HTML Publisher Plugin path traversal vulnerability. Affects org.jenkins-ci.plugins:htmlpublisher versions < 1.16. Fixed in 1.16. 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 HTML Publisher Plugin is a plugin for the Jenkins continuous integration and delivery system. It allows users to publish HTML reports as part of their build process. The plugin provides a build step that can be configured to generate and publish HTML reports based on specified criteria. This vulnerability affects versions 1.15 and older of the plugin.
Vulnerability Detail
A path traversal vulnerability exists in the HtmlPublisherTarget.java file of the Jenkins HTML Publisher Plugin. Attackers who are able to configure the HTML Publisher build step can exploit this vulnerability to override arbitrary files on the Jenkins master. The vulnerability allows for unauthorized access and modification of files, potentially leading to unauthorized code execution or data leakage. In version 1.16, non-alphanumeric characters in report names are escaped to mitigate this vulnerability.
How To Fix
Minimum fixed version
1.16
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
There is no known workaround for this vulnerability. It is recommended to apply the fix by upgrading to the latest version of the plugin.
Conclusion
The Jenkins HTML Publisher Plugin is vulnerable to a path traversal attack that allows attackers to override arbitrary files on the Jenkins master. Upgrading to version 1.16 or later of the plugin is recommended to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.jenkins-ci.plugins:htmlpublisher →
FAQ
This vulnerability allows attackers to override arbitrary files on the Jenkins master, potentially leading to unauthorized code execution or data leakage.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply provide your pom.xml file and the playground will analyze it for open-source vulnerabilities, including this one.
Yes, the CVSS score for this vulnerability is 6.5.
There are no known public exploits for this vulnerability at the time of this report.
You can find more information about this vulnerability in the GitHub Security Advisory database (https://github.com/github/advisory-database).
References
Related vulnerabilities
Recent vulnerabilities recorded for org.jenkins-ci.plugins:htmlpublisher.