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