id: mysqld-exporter-metrics

info:
  name: MySQL Exporter Panel - Detect
  author: DhiyaneshDk
  severity: info
  description: MYSQL Exporter panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"MySQLd exporter"
  tags: mysqld,exposure,debug,misconfig

http:
  - method: GET
    path:
      - "{{BaseURL}}/metrics"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "mysqld"
          - "# HELP"
        condition: and

      - type: status
        status:
          - 200

# digest: 490a0046304402203622876a804a423f5aa1e6f376ad3b857d03ecfc728a121c1fe8eac675c9f3b60220581a018857423ed80a8356175bafc87ba12064ec368850c40fddb683e7a0be72:922c64590222798bb761d5b6d8e72950
