id: jira-unauthenticated-installed-gadgets

info:
  name: Jira Unauthenticated Installed gadgets
  author: philippedelteil
  severity: info
  description: Some Jira instances allow to read the installed gadgets (sometimes it's also possible to read config xml file for some gadgets)
  metadata:
    max-request: 1
    shodan-query: http.component:"Atlassian Jira"
  tags: atlassian,jira

http:
  - method: GET
    path:
      - "{{BaseURL}}/rest/config/1.0/directory"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'jaxbDirectoryContents'

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