Skip to content
Snippets Groups Projects
Commit 592fdf48 authored by ale's avatar ale
Browse files

Add ModSec exclusion for wp2pgpmail

parent 1ce6bf72
Branches
No related tags found
No related merge requests found
Pipeline #9578 passed
......@@ -43,3 +43,14 @@ SecRule REQUEST_FILENAME "@endsWith /wp-admin/admin-ajax.php" \
ctl:ruleRemoveTargetByTag=CRS;ARGS:widget-event_list_widget[2][title],\
ctl:ruleRemoveTargetByTag=CRS;ARGS:widget-event_list_widget[2][location_length]"
# Filter out certain args (all URIs) for the pgp email plugin.
SecRule REQUEST_URI "@beginsWith /" \
"id:1005,\
phase:2,\
pass,\
nolog,\
ctl:ruleRemoveTargetByTag=attack-sqli;ARGS:message_from_name,\
ctl:ruleRemoveTargetByTag=attack-sqli;ARGS:message_from_mail,\
ctl:ruleRemoveTargetByTag=attack-sqli;ARGS:message_body,\
ctl:ruleRemoveTargetByTag=attack-sqli;ARGS:text"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment