id: unauthenticated-glowroot

info:
  name: Glowroot Anonymous User
  author: pussycat0x
  severity: high
  description: Anonymous user access allows to understand the host internals
  metadata:
    max-request: 1
    shodan-query: http.title:"Glowroot"
  tags: misconfig,unauth,glowroot

http:
  - method: GET
    path:
      - '{{BaseURL}}/backend/admin/users?username=anonymous'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '"username":"anonymous"'
          - '"Administrator"'
          - '"newPassword":""'
        condition: and

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

      - type: status
        status:
          - 200

# digest: 490a00463044022019366c9de0a2a073adbbad6091fd850a52a5b2d56a5dd3ad2f0d39d9367bc01b02205cd93caca69d8f77cbf30f8643539c016d27c3a02de8520cbc25ede3a6a9e0e1:922c64590222798bb761d5b6d8e72950
