id: jira-unauthenticated-screens

info:
  name: Jira Unauthenticated Access to screens
  author: TESS
  severity: info
  reference:
    - https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-screens/#api-rest-api-2-screens-get
  classification:
    cpe: cpe:2.3:a:atlassian:jira_data_center:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: atlassian
    product: jira_data_center
    shodan-query: http.component:"Atlassian Jira"
  tags: atlassian,jira,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/rest/api/2/screens"

    max-size: 1000

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '"id":'
          - '"name":'
          - '"description":'
        condition: and

      - type: status
        status:
          - 200

      - type: word
        part: header
        words:
          - "atlassian.xsrf.token"
# digest: 4a0a00473045022017aa4ebef88858a18d6e4b13f824c48b61c6f1b73b49c36da869832cc323f0af02210080953cff63b802e18280c88bf440b31d9931da9d5236cd9ea40d204367739f0e:922c64590222798bb761d5b6d8e72950