Skip to content

Commit 70a76d3

Browse files
committed
Added async upload ModSec WAF Exclusion
1 parent d600e43 commit 70a76d3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

modsec/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,12 @@ SecRule REQUEST_FILENAME "@rx /wp-json/wp/v2/(pages|posts)/[0-9]+(/autosaves)?"
2323
ctl:ruleRemoveById=941160,\
2424
ctl:ruleRemoveById=941180"
2525

26+
# Exclusions for WP Pages saves
27+
# Fix 'Matched "Operator `Pm' with parameter `..\ ../' against variable `REQUEST_BODY`" "Path Traversal Attack (/../)"'
28+
SecRule REQUEST_FILENAME "@endsWith /wp-admin/async-upload.php" \
29+
"id:890003,\
30+
phase:2,\
31+
pass,\
32+
t:none,\
33+
nolog,\
34+
ctl:ruleRemoveById=930110"

0 commit comments

Comments
 (0)