id: CVE-2019-8449

info:
  name: Jira <8.4.0 - Information Disclosure
  author: harshbothra_
  severity: medium
  description: Jira before 8.4.0 is susceptible to information disclosure. The /rest/api/latest/groupuserpicker resource can allow an attacker to enumerate usernames, and thereby potentially obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    An attacker can exploit this vulnerability to gain access to sensitive information.
  remediation: |
    Upgrade Jira to version 8.4.0 or later to fix the information disclosure vulnerability.
  reference:
    - https://www.doyler.net/security-not-included/more-jira-enumeration
    - https://jira.atlassian.com/browse/JRASERVER-69796
    - http://packetstormsecurity.com/files/156172/Jira-8.3.4-Information-Disclosure.html
    - https://github.com/SexyBeast233/SecBooks
    - 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-2019-8449
    cwe-id: CWE-306
    epss-score: 0.84771
    epss-percentile: 0.99685
    cpe: cpe:2.3:a:atlassian:jira:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: atlassian
    product: jira
    shodan-query:
      - http.component:"Atlassian Jira"
      - http.component:"atlassian jira"
      - http.component:"atlassian confluence"
      - cpe:"cpe:2.3:a:atlassian:jira"
  tags: cve,cve2019,atlassian,jira,disclosure,packetstorm,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/rest/api/latest/groupuserpicker?query=1&maxResults=50000&showAvatar=true'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '{"users":{"users":'

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