id: jira-setup

info:
  name: Atlassian JIRA Setup - Installer
  author: ritikchaddha
  severity: high
  description: Atlassian JIRA is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:atlassian:jira:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: atlassian
    product: jira
    shodan-query: title:"JIRA - JIRA setup"
  tags: misconfig,jira,atlassian,installer,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}'
      - '{{BaseURL}}/secure/SetupMode!default.jspa'

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'JIRA - JIRA setup'
          - 'jira.webresources:jira-setup"'
        case-insensitive: true
        condition: or

      - type: status
        status:
          - 200
# digest: 490a0046304402204ac4ee6fed7732c94e2d610822d322aca0faaef89d4916c933f7bb6d320d9cbf02201b35f355ee5df029ebd92e139ec31073499e30fa20d1b5825d9b4cdd81c04401:922c64590222798bb761d5b6d8e72950