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