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

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