We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1b63d0 commit f633889Copy full SHA for f633889
05-HARDENING.conf
@@ -63,7 +63,22 @@ SecRule tx:wprs_allow_user_enumeration "@eq 1" \
63
64
SecMarker BEGIN_WPRS_USER_ENUMERATION
65
66
-SecRule REQUEST_URI "(author\=[0-9]+)" "phase:1,id:22200019,\
+SecRule REQUEST_URI "(author\=[0-9]+)" "phase:1,id:22200029,\
67
+ t:lowercase,t:urlDecode,t:trim,\
68
+ block,\
69
+ log,\
70
+ rev:'1',\
71
+ severity:'6',\
72
+ maturity:'9',\
73
+ accuracy:'9',\
74
+ capture,\
75
+ ver:'%{tx.wprs_version}',\
76
+ tag:'wordpress',\
77
+ tag:'enumeration',\
78
+ logdata:'Detected on %{TX:1}',\
79
+ msg:'WordPress: User enumeration'"
80
+
81
+SecRule REQUEST_FILENAME "^(/wp\-json/wp/v[0-9]+/users)" "phase:1,id:22200033,\
82
t:lowercase,t:urlDecode,t:trim,\
83
block,\
84
log,\
0 commit comments