Jenkins HTML Publisher Plugin path traversal vulnerability
Date: 2022-05
Affected: maven/org.jenkins-ci.plugins:htmlpublisher
Attack vector: path-traversal
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2018-1000175
CWE: CWE-22
CVSS: 6.5 (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N)

A path traversal vulnerability exists in Jenkins HTML Publisher Plugin 1.15 and older in HtmlPublisherTarget.java that allows attackers able to configure the HTML Publisher build step to override arbitrary files on the Jenkins master. In version 1.16, non-alphanumeric characters in report names are escaped for use as part of a URL and as a directory name.


Mitigations:

Architectural layers (MAESTRO):