| Title | Jenkins <=2.196 - Cookie Exposure |
|---|---|
| Author | c-sh0 |
| Severity | Medium |
| Impact | The exposure of cookies can lead to session hijacking, unauthorized access, and potential data breaches. |
| Remediation | Upgrade Jenkins to a version higher than 2.196 to mitigate the vulnerability. |
| CVSS Score | 5.4 |
| EPSS Score | 0.81459 |
| CVE ID | CVE-2019-10405 |
| CWE ID | CWE-79 |
| Shodan Query | http.favicon.hash:81586312cpe:"cpe:2.3:a:jenkins:jenkins"product:"jenkins" |
| Fofa Query | icon_hash=81586312 |
| Tags | cve cve2019 jenkins vuln |
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.
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
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2019/CVE-2019-10405.yaml
🦈 Packet Capture: ⬇️ Download cve-2019-10405.pcap
N/AN/A