CVE-2020-2096
Reflected XSS vulnerability in Jenkins gitlab-hook Plugin
Record summary
CVE-2020-2096 has a selected CVSS score of 6.1 (medium); EIP currently links 1 catalogued exploit and 1 Nuclei template.
Description
Jenkins Gitlab Hook Plugin 1.4.2 and earlier does not escape project names in the build_now endpoint, resulting in a reflected XSS vulnerability.
Exploitation context
Affected products and versions
3| Product | Source | Version range | Status |
|---|---|---|---|
gitlab_hookBrowse Jenkins / gitlab_hook | VulnCheck | Version data not supplied | |
Jenkins Gitlab Hook PluginBrowse Jenkins project / Jenkins Gitlab Hook Plugin | CVE List | Through 1.4.2 | affected |
| next of 1.4.2 | unknown | ||
org.jenkins-ci.ruby-plugins:gitlab-hookBrowse Maven / org.jenkins-ci.ruby-plugins:gitlab-hook | GitHub Advisory | Through 1.4.2 | affected |
Proofs of concept
1Catalogued exploits
ExploitDBJenkins Gitlab Hook Plugin 1.4.2 - Reflected Cross-Site ScriptingExploitDB exploitby Ai HoNot analyzed1 file
Nuclei templates
1ProjectDiscoveryMEDIUMJenkins Gitlab Hook <=1.4.2 - Cross-Site ScriptingCVSS 6.1
Jenkins Gitlab Hook 1.4.2 and earlier does not escape project names in the build_now endpoint, resulting in a reflected cross-site scripting vulnerability.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft or unauthorized actions.
Remediation
Upgrade to the latest version of Jenkins Gitlab Hook plugin (>=1.4.3) to mitigate this vulnerability.
Source: ProjectDiscovery