Re: ignore http header
Ryan Barnett <RBarnett <at> trustwave.com>
2012-02-10 15:44:07 GMT
Please reference the document for the SecRuleUpdateTargetById (and it's ctl action option) - http://sourceforge.net/apps/mediawiki/mod-security/index.php?title=Reference_Manual#SecRuleUpdateTargetById
You should be able to use this rule -
SecRule REQUEST_HEADERS:Origin "@beginsWith https://mail" "phase:1,t:none,nolog,pass,ctl:ruleUpdateTargetById=959006;!REQUEST_HEADERS:Origin"
Add this rule to a local modsecurity_crs_15_custom.conf rules file so that it runs before the normal CRS rules.
--
Ryan Barnett
From: Abey Thomas <abeyth <at> gmail.com<mailto:abeyth <at> gmail.com>>
Date: Fri, 10 Feb 2012 09:16:15 -0600
To:
"mod-security-users <at> lists.sourceforge.net<mailto:mod-security-users <at> lists.sourceforge.net>" <mod-security-users <at> lists.sourceforge.net<mailto:mod-security-users <at> lists.sourceforge.net>>
Subject: [mod-security-users] ignore http header
Hi all,
I currently have a problem with a mod security installation when a http header is constantly triggering an
exception. I was wondering if
The header starts with Origin:https://mail-... and the word /mail is triggering the block. Was wondering
if there is a way to make WAF ignore all request header named "Origin" but still make waf trigger if the
POSTed data contains "/mail-.."
Regards,
Abey
________________________________
This transmission may contain information that is privileged, confidential, and/or exempt from
disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution, or use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately
contact the sender and destroy the material in its entirety, whether in electronic or hard copy format.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
mod-security-users mailing list
mod-security-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
http://www.modsecurity.org/projects/commercial/rules/
http://www.modsecurity.org/projects/commercial/support/