id: exposed-mysql-initial

info:
  name: mysql.initial Config - Detect
  author: ELSFA7110
  severity: info
  description: mysql.initial configuration file was detected.
  reference:
    - https://hackerone.com/reports/1081817
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: config,exposure,hackerone

http:
  - method: GET
    path:
      - "{{BaseURL}}/mysql.initial.sql"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Roundcube Webmail initial database structure"
        part: body

      - type: status
        status:
          - 200

# digest: 4a0a00473045022100d78480fed2fe2eacb0142b9447b16dc39b168a3b80a58c225aa90692a240e667022048696af4e62d94ca3be1893b33157af040701ee9691535fd0bdac9c0dcdf6cb2:922c64590222798bb761d5b6d8e72950
