After apply F5 WAF Web exploits on AWS, clients informed that cannot upload an image file as they usually do.
The image file is their signature in jpeg format (.jpg). However, once they edited the image by just simply open and save it again with the same filename, the image can be uploaded.
I checked log on the failed upload session and found that the action is BLOCK for some reasons. Only thing is different between the failed and the working one is value of Content-Length. The failed one is about 8000 but the working one is about 4000. Please kindly see the log below
I also confirmed with AWS support that this rule belongs to F5 WAF.
I would like to know is that any limitation of Content-Length value ? or what is the cause of blocking?
This is just simply uploading file and work without F5 WAF.
All explanations or suggestions will be very appreciated.