id: ganglia-xml-grid-monitor

info:
  name: Ganglia XML Grid Monitor
  author: geeknik
  severity: low
  description: Ganglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids.
  reference:
    - http://ganglia.info/
  metadata:
    max-request: 1
  tags: ganglia,network,misconfig,tcp

tcp:
  - inputs:
      - data: "\r\n"

    host:
      - "{{Hostname}}"
    port: 8649
    read-size: 2048

    matchers:
      - type: word
        words:
          - "<!DOCTYPE GANGLIA_XML"
          - "<!ATTLIST"
          - "<!ELEMENT"
        condition: and
# digest: 4a0a00473045022074f279f58140806e6fde79a35dbd62cfb630d25890343be20774a340d7b79b89022100e5e714eac1d99c69004d1e6f00d4b4f175e579366574fc4da36fdf2865bb8cb9:922c64590222798bb761d5b6d8e72950