Forum Discussion
sbobic_232506
Nimbostratus
Dec 15, 2015Applying iRule to ASM policy - file upload form protection
So, I have found the following iRule which should block the upload of PHP files in file upload forms:
when HTTP_REQUEST {
if { [HTTP::header exists "Content-Disposition"] } {
...
sbobic_232506
Nimbostratus
Dec 17, 2015Disallowing file types will make the web app inaccessible as it's made in PHP. Plus, as a pentester, I would like to have full control in order to block all file upload vulnerabilities(.php3, .phps, exif data, .htaccess shells etc)
All of my logs(illegal, and all requests) at Security > Event Logs > Application > Requests are empty. Maybe because I have set automatic learning mode, and I've started building the policy just yesterday.
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