It's not expensive and can significantly help you, saving you from many headaches in situations like this. While it might not block everything that arrives at your service, it can be a great help!
It's not expensive and can significantly help you, saving you from many headaches in situations like this. While it might not block everything that arrives at your service, it can be a great help!
There were a few overzealous rules that subtly broke parts of our app.
There were request body rules that did things like block requests that contained "localhost" in the request body. There was also a rule that blocked requests without a User-Agent header, which we were not previously requiring on API requests, so we broke our entire API for a few users until we figured that out.
Complete due diligence is required to fully understand and realise the impact of the rules and should be tested like any software change by going through a testing phase.
Ideally software teams should be fully trained and be responsible for their lifecycle.
Had a fun one after turning on the AWS WAF with some default rules–a small number of users reported they couldn’t upload new logo images anymore. Turned out some Adobe product was adding XML metadata to the image files, which the WAF picked up and blocked.
This is one of the cases where you must understand what you are doing. There's no technique for doing it mindlessnessly.
As you note, it requires adjustment due to overzealous rules. OWASP has Paranoia Levels[1] which allow you to be more targeted.
[0] https://github.com/coreruleset/coreruleset
[1] https://coreruleset.org/20211028/working-with-paranoia-level...
Then you block sooner and get slammed for blocking too soon.
Repeat for 1000 web services.