id: CVE-2020-14179

info:
  name: Atlassian Jira Server/Data Center <8.5.8/8.6.0 - 8.11.1 - Information Disclosure
  author: x1m_martijn
  severity: medium
  description: Atlassian Jira Server and Data Center before 8.5.8 and 8.6.0 through 8.11.1 are susceptible to information disclosure via the /secure/QueryComponent!Default.jspa endpoint. An attacker can view custom field names and custom SLA names.
  impact: |
    An attacker can exploit this vulnerability to gain access to sensitive information, potentially leading to further attacks.
  remediation: |
    Upgrade Atlassian Jira Server/Data Center to a version higher than 8.11.1 to mitigate the vulnerability.
  reference:
    - https://jira.atlassian.com/browse/JRASERVER-71536
    - https://nvd.nist.gov/vuln/detail/CVE-2020-14179
    - https://github.com/developer3000S/PoC-in-GitHub
    - https://github.com/hackerhackrat/R-poc
    - https://github.com/soosmile/POC
  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-14179
    epss-score: 0.76042
    epss-percentile: 0.99469
    cpe: cpe:2.3:a:atlassian:jira_data_center:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: atlassian
    product: jira_data_center
    shodan-query:
      - http.component:"Atlassian Jira"
      - http.component:"atlassian jira"
  tags: cve,cve2020,atlassian,jira,exposure,disclosure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/secure/QueryComponent!Default.jspa"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '{"searchers":'
          - '"groups":'
          - '"id":"customfield'
        condition: and

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100b7e5d35b6da9c987e981109341a9527f71842daf546436e24203327a78f3d477022100e28306706468e9934d3ebe81797afa2be29d2fbf4928ce3f6156743f4ab4dd7b:922c64590222798bb761d5b6d8e72950