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

68 lines
1.9 KiB
YAML
Raw Normal View History

id: CVE-2019-10405
info:
2023-04-18 13:53:50 +00:00
name: Jenkins <=2.196 - Cookie Exposure
author: c-sh0
severity: medium
2023-04-18 13:53:50 +00:00
description: Jenkins through 2.196, LTS 2.176.3 and earlier prints the value of the cookie on the /whoAmI/ URL despite it being marked HttpOnly, thus making it possible to steal cookie-based authentication credentials if the URL is exposed or accessed via another cross-site scripting issue.
2023-09-06 12:53:28 +00:00
remediation: |
Upgrade Jenkins to a version higher than 2.196 to mitigate the vulnerability.
reference:
- https://jenkins.io/security/advisory/2019-09-25/#SECURITY-1505
- http://www.openwall.com/lists/oss-security/2019/09/25/3
- https://nvd.nist.gov/vuln/detail/CVE-2019-10405
classification:
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
cve-id: CVE-2019-10405
cwe-id: CWE-79
2023-07-11 19:49:27 +00:00
epss-score: 0.00572
epss-percentile: 0.75473
2023-09-06 12:53:28 +00:00
cpe: cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:*
metadata:
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: jenkins
product: jenkins
2023-09-06 12:53:28 +00:00
shodan-query: http.favicon.hash:81586312
tags: cve,cve2019,jenkins
http:
- raw:
- |
GET {{BaseURL}}/whoAmI/ HTTP/1.1
Host: {{Hostname}}
- |
GET {{BaseURL}}/whoAmI/ HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
req-condition: true
2023-07-11 19:49:27 +00:00
matchers-condition: and
matchers:
- type: word
part: header
words:
- 'text/html'
- 'x-jenkins'
case-insensitive: true
2023-07-11 19:49:27 +00:00
condition: and
- type: word
part: body_2
words:
- 'Cookie'
- 'JSESSIONID'
condition: and
2023-07-11 19:49:27 +00:00
- type: status
status:
- 200
extractors:
- type: kval
kval:
- x_jenkins
# digest: 4a0a004730450220511b638ce29b166fcc67cb9f2d74afc31b859b1a09a474e0e12f4df616d596bd022100fe7a97d6be72f9c760bc939b92de1e1916fb67d0314bfe628c44c36f2d513a9d:922c64590222798bb761d5b6d8e72950