We're testing ModSecurity against some easy XSS tests. We have a PUT REST Call 
in which we embed <script>alert(document.cookie)</script> into a text dialog 
box, which should be easily picked up by RuleID:973336, but for some reason 
it's not. debug_cache log says no match.

Does ARGS work on PUTs in addition to POST? Reference documentation only seems 
to mention POST.

Additionally, I tried to use the FULL_REQUEST target to see if that would help, 
but I'm getting an error: Error creating rule: Unknown variable: FULL_REQUEST, 
but SecRequestBodyAccess On is in mod_security.conf.

This seems to be a very simple test in which mod_security should catch this, 
but not such luck.

Any thoughts?

Thanks,
Brian
_______________________________________________
Owasp-modsecurity-core-rule-set mailing list
Owasp-modsecurity-core-rule-set@lists.owasp.org
https://lists.owasp.org/mailman/listinfo/owasp-modsecurity-core-rule-set

Reply via email to