nuclei-templates/misconfiguration/wp-registration-enabled.yaml

38 lines
1.1 KiB
YAML

id: wp-registration-enabled
info:
name: WordPress User Registration Enabled
author: tess,DhiyaneshDK
severity: info
description: |
Your WordPress site is currently configured so that anyone can register as a user. If you are not using this functionality, it's recommended to disable user registration as it caused some security issues in the past and is increasing the attack surface.
remediation: |
Disable user registration if not needed. To disable user registration, log in as an administrator and go to Settings -> General and uncheck "Anyone can register".
reference:
- https://www.acunetix.com/vulnerabilities/web/wordpress-user-registration-enabled/
metadata:
verified: true
tags: wordpress,wp,misconfig
requests:
- method: GET
path:
- "{{BaseURL}}/wp-login.php"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '?action=register"'
- type: word
part: header
words:
- 'text/html'
- type: status
status:
- 200