Forum Discussion
mwitt_65218
Nimbostratus
Jun 08, 2009This should not be so difficult.
Hello,
We have F5 ASM v9.4.5 running on a production web app (though very few users use it).
We have Automatic Policy Builder running. A parameter named email was created by it. This is for a textbox to enter the email address of a contact when the user is adding a contact. This email parameter that Automatic Policy Builder created is a user-input global.
When I entered jroot@morrison.com (a real email address of a user who uses this small web app), the Report section showed the error about the Attack Signature SQL-INJ @ROOT. So I clicked ACCEPT on the error. I then clicked APPLY POLICY. I again entered jroot@morrison.com and again received another error. Again I clicked on ACCEPT on the error. I processed again, received the error again, clicked ACCEPT, clicked APPLY POLICY, et cetera. But I keep getting the error.
So I went to the email parameter and manually brought to the left the Attack Sig named SQL-INJ ROOT@ and made sure that the drop down showed DISABLED before I clicked UPDATE. Since the RED M showed since I had modified a parameter and therefore the policy, I clicked APPLY POLICY. I processed again to enter jroot@morrison.com and yet again I received in Report section another error about this Attack Sig not liking jroot@morrison.com. So numerous times I have gone into the email parameter which shows already disabled for this Attack Sig since I have processed numerous times today to click UPDATE for that parameter with DISABLED for this Attack Sig, but STILL I keep getting the error when entering that value.
If the Automatic Policy Builder is running and I click ACCEPT on an error in the Report section AND go to the parameter to disable that Attack Sig, clicking APPLY POLICY whenever the RED M shows for the policy, why do I keep getting the error when I process to enter jroot@morrison.com into the textbox that corresponds to Automatic Policy Builder's email parameter?
Thanks much.
- mwitt_65218
Nimbostratus
Also, what am I doing to reset Automatic Policy Builder or why is F5 resetting? I have earlier today as well as in the past manually went to parameters (e.g., lastname, firstname, middlename, homestreet, et cetera) to click the ALLOW EMPTY VALUE because I have received errors when I was processing in the web app to test and utilize F5. For a while I might stop getting the errors for those parameters when I do not enter anything while I am processing to test F5 within the web app, but then YET AGAIN I eventually receive an Illegal Empty Parameter Value error. - naladar_65658
Altostratus
I haven't used the automatic policy builder that much. You might try turning off the Policy Builder, set the policy to blocking mode and apply it. Then wait a few minutes and try the e-mail form again. Then go to Policy Building > Manual. Select the web application from the drop down list that you are working on and that screen will show you all of the violations. Go through the list and disable the policies that are keeping the web e-mail form from working. Then click "Apply Policy", wait a few minutes and then try the form again. That's the method I used on our web apps and it has worked like a charm. - mwitt_65218
Nimbostratus
Hi Naladar, - mwitt_65218
Nimbostratus
Naladar, - naladar_65658
Altostratus
I forgot to mention that chapter 9 in the ASM manual covers configuring parameters manually. It is roughly 26 pages long, but here is an excerpt... "Configuring parameters for a web application can be a lengthy and arduous task. While you can do this manually, as explained throughout the remainder of this chapter, you can also use the Policy Builder and the Learning process to help you discover the parameters and values that are part of your web application." - mwitt_65218
Nimbostratus
Thanks very much, Naladar. - naladar_65658
Altostratus
Hmm... if you are looking at an attack violation, which it sounds like you are, and you DO NOT SEE an accept button in the top right hand corner after you have opened the violation, then I believe that the policy has already been instructed to accept that parameter. Not sure, but does your policy have an "M" beside it? I will have to put some things into staging to test... I can't remember off the top of my head. Best bet maybe to "Apply Policy", clear the logs, wait ten and try again and see if it works now. If not check back on the manual screen and see if any more violations show up. - mwitt_65218
Nimbostratus
I went to Policy Building Manual and clicked Attack Signature Staging. I clicked the arrow for Signature Name SQL-INJ ROOT@ to expand/show and I see the email parameter with the value Disable in the Action column. So this verifies that I had gone to the Parameter section to disable this Attack Sig for this email parameter. - mwitt_65218
Nimbostratus
Yes, I do see ACCEPT on the violation. - naladar_65658
Altostratus
Good deal, they will be able to help you out I bet. If you don't mind posting the answer once you have closed the case I would appreciate it, I am rather curious.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects