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

44 lines
1.1 KiB
YAML

id: wp-registration-enabled
info:
name: WordPress User Registration Panel - Detect
author: tess,DhiyaneshDK
severity: info
description: |
WordPress user registration is currently configured so that anyone can register as a user, thereby enabling an attacker to possibly access sensitive data and execute unathorized operations.
remediation: |
Disable user registration if not needed. To do so, 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/
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.0
cwe-id: CWE-200
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
# Enhanced by md on 2023/02/06