2022-03-04 16:19:54 +00:00
|
|
|
id: CVE-2019-10405
|
|
|
|
|
|
|
|
info:
|
2022-03-04 16:42:30 +00:00
|
|
|
name: Diagnostic page exposed Cookie HTTP header
|
2022-03-04 16:19:54 +00:00
|
|
|
author: c-sh0
|
2022-04-22 10:38:41 +00:00
|
|
|
severity: medium
|
2022-03-04 16:42:30 +00:00
|
|
|
description: Jenkins 2.196 and earlier, LTS 2.176.3 and earlier printed the value of the Cookie on the /whoAmI/ URL
|
2022-03-04 16:19:54 +00:00
|
|
|
reference:
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2019-10405
|
|
|
|
- https://jenkins.io/security/advisory/2019-09-25/#SECURITY-1505
|
2022-05-17 09:18:12 +00:00
|
|
|
- http://www.openwall.com/lists/oss-security/2019/09/25/3
|
2022-03-04 16:19:54 +00:00
|
|
|
classification:
|
2023-02-23 10:12:47 +00:00
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
|
|
|
|
cvss-score: 5.4
|
2022-03-04 16:19:54 +00:00
|
|
|
cve-id: CVE-2019-10405
|
2023-02-23 10:12:47 +00:00
|
|
|
cwe-id: CWE-79
|
2022-04-22 10:38:41 +00:00
|
|
|
metadata:
|
|
|
|
shodan-query: http.favicon.hash:81586312
|
2022-03-04 16:19:54 +00:00
|
|
|
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
|