id: pinpoint-unauth

info:
  name: PinPoint Unauth
  author: dhiyaneshDk
  severity: high
  description: PinPoint is exposed.
  reference:
    - https://github.com/pinpoint-apm/pinpoint
  metadata:
    max-request: 1
  tags: pippoint,unauth,misconfig

http:
  - method: GET
    path:
      - '{{BaseURL}}/applications.pinpoint'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "applicationName"
          - "serviceType"
        condition: and
        part: body

      - type: word
        words:
          - "application/json"
        part: header

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