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.68722
    epss-percentile: 0.98689
    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

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: 4a0a00473045022100af7d52aa8e0b7459581a3e4358e1080a3a82e382dd533a6ee9b895a475eea45002206d43d2a0e3f639ce77d7ba6c872236282350c5c5482128bcd7e64e2874fb80ea:922c64590222798bb761d5b6d8e72950