id: unauthenticated-glances

info:
  name: Glances Unauthenticated Panel
  author: remonsec
  severity: low
  description: Glance running web server mode & Unauthenticated leads system monitoring to info disclosure
  reference:
    - https://glances.readthedocs.io/en/latest/quickstart.html#how-to-protect-your-server-or-web-server-with-a-login-password
  metadata:
    max-request: 1
  tags: exposure,glances,misconfig

http:
  - method: GET
    path:
      - '{{BaseURL}}'

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        part: body
        words:
          - "<title>Monitor</title>"
# digest: 490a0046304402200bb04d900022dbf36f4783257577f17b00b530d33d27cc5688bc451ce2d828b0022051eaa3bc249ef65cb806357db09d4dbb8674f60d7d2f4c2159cfbb786965fc11:922c64590222798bb761d5b6d8e72950