id: wordpress-db-repair

info:
  name: Wordpress DB Repair Exposed
  author: _C0wb0y_
  severity: low
  description: Discover enabled Wordpress repair page.
  metadata:
    max-request: 1
  tags: wordpress,config,fpd

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-admin/maint/repair.php"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<title>WordPress"

      - type: status
        status:
          - 200

      - type: word
        words:
          - "define"
          - "WP_ALLOW_REPAIR"
          - "true"
        condition: and
        negative: true

# digest: 490a00463044022048d52e9a4f94a9d08c7365eca151825c702b06a113a6578821bb2b4f8ee6c7b60220509b242a3221080dd28182942490019a961481aac6c8cd8352263b8562d5b356:922c64590222798bb761d5b6d8e72950
