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: 4a0a00473045022100806c14f9d0dbd7ec1488bd701a65892d9b6b6583fad90f166b51bcd40da54d220220457cdc93306ba6c2cafe2ad0b2cfe6bb55d91ee86105693236f996dc3cebd822:922c64590222798bb761d5b6d8e72950