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: 490a00463044022069280cf6a408ddd05abda95e9b0d087e759b537f098bb1680b3be1f2bc97df6102204d81f178ff3ff13d6ea317c6b0136b775e2ce96697b2ecd7cbf6348ddcdba02b:922c64590222798bb761d5b6d8e72950