id: confluence-oauth-admin

info:
  name: Confluence OAuth Administration Endpoint
  author: DhiyaneshDK
  severity: info
  classification:
    cpe: cpe:2.3:a:atlassian:confluence_server:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: atlassian
    product: confluence_server
    shodan-query: http.component:"Atlassian Confluence"
  tags: misconfig,jira,confluence,atlassian,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/plugins/servlet/oauth/view-consumer-info"
      - "{{BaseURL}}/confluence/plugins/servlet/oauth/view-consumer-info"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>OAuth Consumer Information'
          - 'OAuth Administration'

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