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

56 lines
1.3 KiB
YAML
Raw Normal View History

id: CVE-2020-2103
info:
2022-03-04 16:42:30 +00:00
name: Diagnostic page exposed session cookies
author: c-sh0
severity: medium
2022-03-04 16:42:30 +00:00
description: Jenkins 2.218 and earlier, LTS 2.204.1 and earlier exposed session identifiers on a users detail object in the whoAmI diagnostic page.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2020-2103
- https://www.jenkins.io/security/advisory/2020-01-29/#SECURITY-1695
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
cvss-score: 5.4
cve-id: CVE-2020-2103
cwe-id: CWE-200
metadata:
shodan-query: http.favicon.hash:81586312
tags: cve,cve2020,jenkins
requests:
- raw:
- |
GET {{BaseURL}}/whoAmI/ HTTP/1.1
Host: {{Hostname}}
- |
GET {{BaseURL}}/whoAmI/ HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
req-condition: true
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: header
words:
- 'text/html'
- 'x-jenkins'
condition: and
case-insensitive: true
- type: word
part: body_2
words:
- 'Cookie'
- 'SessionId: null'
condition: and
extractors:
- type: kval
kval:
- x_jenkins