High number false positives with AFW and wordpress

Pineda-Montes Jose-Antonio 1 Reputation point
2022-11-30T07:28:26.77+00:00

Hi,

  We are having false positives with wordpress and it is impossible to avoid them with exclusion rules or custom rules because there are many false positives and each one is one different rule and the people connect from different ip address (cannot filter by ip) .  

So, we have found that there is an OWASP exclusion rule on internet (900130) that if you activate it, it contains code to prevent false positives with wordpress. The problem is that I can't find the exclusion rule in the owasp 3.2 rules in the AFW of the App Gateway. I have found this exclude rule on the OWASP to modsecurity (https://github.com/SpiderLabs/owasp-modsecurity-crs/blob/v3.3/dev/crs-setup.conf.example).

Any help?

Thanks in advance.

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
565 questions
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
957 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 34,926 Reputation points Microsoft Employee
    2022-11-30T08:43:27.423+00:00

    Hi @Pineda-Montes Jose-Antonio ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
    I understand that you would like to enable the exclusion rule 900130 in App Gateway WAF.

    I am afraid that I did not quite catch your question.

    In App Gateway WAF, Exclusions are not configured the same way as Rules are.
    You should use a request attribute and set an exclusion.

    Refer: Web Application Firewall exclusion lists

    This document provides the list of rules available in WAF using OWASP 3.2
    App gateway CRS Rules
    I do not see Rule 900130 listed here.

    In this case where you encounter a large number of false positives, the ideal way to get around this is by using Custom Rules and allow your requests using a matchVariable

    265653-image.png

    Let me know if you have any queries on the above.

    Cheers,
    Kapil

    1 person found this answer helpful.
    0 comments No comments