Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2020-2103
HistoryMar 04, 2022 - 4:20 p.m.

Jenkins <=2.218 - Information Disclosure

2022-03-0416:20:03
ProjectDiscovery
github.com
18

5.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

5.5 Medium

AI Score

Confidence

High

4 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:S/C:N/I:P/A:N

0.005 Low

EPSS

Percentile

76.9%

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.

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.
  impact: |
    An attacker can exploit this vulnerability to gain sensitive information from the Jenkins server.
  remediation: |
    Upgrade Jenkins to a version higher than 2.218 to mitigate the vulnerability.
  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
    - https://access.redhat.com/errata/RHBA-2020:0402
  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
    epss-score: 0.00534
    epss-percentile: 0.76681
    cpe: cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:*
  metadata:
    max-request: 2
    vendor: jenkins
    product: jenkins
    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}}

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - 'text/html'
          - 'x-jenkins'
        case-insensitive: true
        condition: and

      - type: word
        part: body_2
        words:
          - 'Cookie'
          - 'SessionId: null'
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: kval
        kval:
          - x_jenkins
# digest: 490a0046304402204719e69a3d9212bc5a83bc0637aa260c0f1a472289337a06a0795d661772b79a02203d747ba49dfc9831db6ee04e4a534db4d514e8afd98b86e178e116bf4de12837:922c64590222798bb761d5b6d8e72950

5.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

5.5 Medium

AI Score

Confidence

High

4 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:S/C:N/I:P/A:N

0.005 Low

EPSS

Percentile

76.9%