Forum Discussion
ASM on Mode Transparent (Learning) doesnt learn some parameters
Hi guys I have applied ASM on transparent mode and traffic learning. I am protecting a website based on Wordpress. When the user's administrators do click over different menus, the F5 trigger some event logs of type "Abuse of Functionality" especifically Illegal parameters : action=query-attachments&post_id=0&query[orderby]=date&query[order]=DESC&query[posts_per_page]=40&query[paged]=2.
F5 tell me for example that "query[posts_per_page]" is an illegal parameter but this is a false positive because this query executed over POST DATA is legal. The event shows Applied Blockign Setting : "Learn and Alarm". When i go to section TRAFFIC LEARNING in the list of parameters learned dont appear the characters before mentioned- WHY?? I accepted all requests generated but this traffic doesn't learned. why? If i change the policy from Transparent to Block inmediatly the traffic starts to get blocked then i have to revert the change because of this is a false positive. How can i do to allow this traffic without i have that modify manually the parameters ? why the F5 doesn´t learn this parmeters automatically during learning period??
- PeteWhiteEmployee
How about if you manually add the parameter if you already know what it is? You may find that this is rejected due to the brackets so you might want to add that metacharacter as a first step.
- aquispe17_31055Nimbostratus
Hi Pete The bracket are allowed in the policy, i did this change two days ago but the traffic is blocked yet.
I probed to add the parameter manually and works but i had to add each parameter one by one and the alerts are very dynamic depending on where you click on the menu. For example, in the field POST Data there is a parameter "interval=60". The illegal event shows "alarm and learn". I don't understand why in the section Traffic Learning, the learning of this parameter does not appear.
- PeteWhiteEmployee
I don't understand what you mean by "the alerts are very dynamic depending on where you click on the menu".
Have you set 'Unknown parameter' to be Learn and Alarm? I suspect that you are getting confused between different violations. To build a policy automatically, you need to send lots of valid data through the policy. Otherwise, you can manually create the policy using Learning Suggestions. These work with the blocking mask and the entities to create the ASM policy.
- samstepCirrocumulus
There is a pre-tuned Wordpess ASM policy template available to download here:
https://devcentral.f5.com/articles/new-big-ip-asm-v131-wordpress-v49-ready-template-v612-31346
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com