From b4989107e6409a90b48be8de0a83b0381a7028e2 Mon Sep 17 00:00:00 2001 From: ratnadip1998 <40835957+ratnadip1998@users.noreply.github.com> Date: Wed, 20 Jan 2021 15:52:55 +0530 Subject: [PATCH] Create WordPress-user-registration-enabled.yaml 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. --- .../WordPress-user-registration-enabled.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 exposures/files/WordPress-user-registration-enabled.yaml diff --git a/exposures/files/WordPress-user-registration-enabled.yaml b/exposures/files/WordPress-user-registration-enabled.yaml new file mode 100644 index 0000000000..316f8809e9 --- /dev/null +++ b/exposures/files/WordPress-user-registration-enabled.yaml @@ -0,0 +1,21 @@ +id: WordPress user registration enabled + +info: + name: WordPress user registration enabled + author: Ratnadip Gajbhiye + severity: Medium + +requests: + - method: GET + path: + - '{{BaseURL}}/wp-login.php?action=register' + matchers-condition: and + matchers: + - type: word + words: + - Register For This Site + - E-mail + part: body + - type: status + status: + - 200