WAF & Load Balancer Integration Impact

0

I created a web application firewall (WAF) integration with my load balancer:

  1. AWS-AWSManagedRulesAmazonIpReputationList
  2. AWS-AWSManagedRulesCommonRuleSet
  3. AWS-AWSManagedRulesKnownBadInputsRuleSet

But I noticed that it started impacting my edit access on certain applications (403 Forbidden administrator access). Why is that?

3 Respuestas
2

It sounds like your requests are matching one of the managed rules, and are being blocked (false positives). You may need to tune some of the rules to reduce these, or you could create an exception for your own requests. For example, you could create a rule that allows all requests from your IP address and place it at the top of the WebACL. This would effectively exempt your requests from any of the managed rules.

To find out exactly which rule is matching your requests, you'll need to do some log analysis - take a look at this article for instructions and sample queries.

AWS
EXPERTO
Paul_L
respondido hace 2 meses
profile picture
EXPERTO
revisado hace 2 meses
1
Respuesta aceptada

You can create a custom rule in AWS WAF that allows all requests from specific, trusted IP addresses and place this rule at the top of the Web Access Control List (WebACL). By doing so, requests from these IPs will be allowed through before any of the managed rules have a chance to block them.

profile picture
EXPERTO
respondido hace 2 meses
profile picture
EXPERTO
revisado hace un mes
1

Adding to the great answers above, you could look through the CloudWatch Logs for your IP addresses to understand what's the rule that you are triggering.

AWS
xavi
respondido hace 2 meses
profile picture
EXPERTO
revisado hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas