🔙 목록으로 돌아가기

CVE-2019-10405: Jenkins <=2.196 - Cookie Exposure

TitleJenkins <=2.196 - Cookie Exposure
Authorc-sh0
SeverityMedium
ImpactThe exposure of cookies can lead to session hijacking, unauthorized access, and potential data breaches.
RemediationUpgrade Jenkins to a version higher than 2.196 to mitigate the vulnerability.
CVSS Score5.4
EPSS Score0.81459
CVE IDCVE-2019-10405
CWE IDCWE-79
Shodan Queryhttp.favicon.hash:81586312cpe:"cpe:2.3:a:jenkins:jenkins"product:"jenkins"
Fofa Queryicon_hash=81586312
Tags cve cve2019 jenkins vuln

🔍 Vulnerability 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.

🌐 HTTP Request

GET /whoAmI/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh, Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1.1 Safari/605.1.15
Connection: close
Accept-Encoding: gzip
GET /whoAmI/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh, Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.7 Safari/605.1.15
Connection: close
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2019/CVE-2019-10405.yaml

🦈 Packet Capture: ⬇️ Download cve-2019-10405.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A