-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModSec "Phase 4" interventions not working #5906
ModSec "Phase 4" interventions not working #5906
Comments
@patrick-laa @jo Gilder @joel Sugarman @bex Appleyard let me know if you want to step through the reproducible test I have set up. Findings:I have reproduced the issue in a test cluster and have got closer to mimicking the full functionality. The closet I can get is:
The above isn't ideal (we would want to receive the status 403 too) and we still see here's a template ingress modsec snippet:
I think this is the most relevant issue that reflects our problem: owasp-modsecurity/ModSecurity-nginx#254 Looks, like response body filtering isn't yet fully implemented (still todos in the code for the response body tests) and the nginx-connector hasn't addressed only sending the response headers once the response body has been analysed. Next Steps:Because response body filtering isn't implemented I will turn off Other relevant issues: |
Service name
Submit a crime form / Assess a crime form
Service environment
Impact on the service
If ModSec correctly identifies a problem with the response body of any HTTP request, and attempts to prevent that body from being returned to an end user, its intervention is unsuccessful, and the problematic body does make it to the end user. This means we are not receiving full protection from security threats.
Problem description
Contact person
@Patrick Gleeson
(on Slack) / [email protected]. If Patrick's contract has ended by the time this gets addressed, also try@Jo Gilder
,@Joel Sugarman
or@Bex Appleyard
.The text was updated successfully, but these errors were encountered: