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,vuln

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