2022-03-04 16:19:54 +00:00
id : CVE-2019-10405
info :
2023-04-18 13:53:50 +00:00
name : Jenkins <=2.196 - Cookie Exposure
2022-03-04 16:19:54 +00:00
author : c-sh0
2022-04-22 10:38:41 +00:00
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-27 15:51:13 +00:00
impact : |
The exposure of cookies can lead to session hijacking, unauthorized access, and potential data breaches.
2023-09-06 12:53:28 +00:00
remediation : |
Upgrade Jenkins to a version higher than 2.196 to mitigate the vulnerability.
2022-03-04 16:19:54 +00:00
reference :
- 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
2023-04-03 19:59:02 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2019-10405
2024-03-23 09:28:19 +00:00
- https://github.com/ARPSyndicate/kenzer-templates
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
2023-07-11 19:49:27 +00:00
epss-score : 0.00572
2024-03-23 09:28:19 +00:00
epss-percentile : 0.77427
2023-09-06 12:53:28 +00:00
cpe : cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:*
2022-04-22 10:38:41 +00:00
metadata :
2023-04-28 08:11:21 +00:00
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
2022-03-04 16:19:54 +00:00
tags : cve,cve2019,jenkins
2023-04-27 04:28:59 +00:00
http :
2022-03-04 16:19:54 +00:00
- raw :
- |
GET {{BaseURL}}/whoAmI/ HTTP/1.1
Host : {{Hostname}}
- |
GET {{BaseURL}}/whoAmI/ HTTP/1.1
Host : {{Hostname}}
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
2022-03-04 16:19:54 +00:00
- type : word
part : body_2
words :
- 'Cookie'
- 'JSESSIONID'
condition : and
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2022-03-04 16:19:54 +00:00
extractors :
- type : kval
kval :
2023-04-03 19:59:02 +00:00
- x_jenkins
2024-03-25 11:57:16 +00:00
# digest: 4a0a00473045022100d3c00480594e335316512607e1730e0f4b99e755cd744fc506c049036dbe4696022000afd5caaf07abf1dbe8d051503772a11975ed7d5bd15940e71c63a569ad63bf:922c64590222798bb761d5b6d8e72950