.. / CVE-2020-2096

Exploit for Jenkins Gitlab Hook <=1.4.2 - Cross-Site Scripting (CVE-2020-2096)

Description:

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.

Nuclei Template

View the template here CVE-2020-2096.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2020/CVE-2020-2096.yaml
Copy

References:

https://github.com/Elsfa7-110/kenzer-templates
https://nvd.nist.gov/vuln/detail/CVE-2020-2096
http://packetstormsecurity.com/files/155967/Jenkins-Gitlab-Hook-1.4.2-Cross-Site-Scripting.html
http://www.openwall.com/lists/oss-security/2020/01/15/1
https://jenkins.io/security/advisory/2020-01-15/#SECURITY-1683