From c528f4844bd5b9ec73e437a5dd5a4d1d90c6ee8a Mon Sep 17 00:00:00 2001 From: vasco Date: Sun, 31 May 2026 15:24:32 +0100 Subject: [PATCH] fixed 3 (for real this time) --- conf/modsecurity.conf | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/conf/modsecurity.conf b/conf/modsecurity.conf index 0dc20ea..9e557c1 100644 --- a/conf/modsecurity.conf +++ b/conf/modsecurity.conf @@ -8,16 +8,21 @@ SecAuditLogType Serial #SecAuditLog /var/log/modsecurity/audit.log # SQL Injection protection -SecRule ARGS "(?i)(union(\s+all)?\s+select|select\s+.*\s+from|insert\s+into|update\s+.*\s+set|delete\s+from|drop\s+table|or\s+1=1|--|#|/\*|\*/|\bexec\b|\bexecute\b)" "id:'950001',phase:2,deny,status:403,msg:'SQL Injection Attack Detected',log" +SecRule ARGS "(?i)(union(\s+all)?\s+select|select\s+.*\s+from|insert\s+into|update\s+.*\s+set|delete\s+from|drop\s+table|or\s+1=1|--|#|/\*|\*/|\bexec\b|\bexecute\b)" \ + "id:950001,phase:2,deny,status:403,msg:'SQL Injection Attack Detected',log" # XSS / HTML Injection protection -SecRule ARGS "(?i)