Seems like all scanned files form a Xerox machine are triggering many rules, they are coming from multiple users. The files are scanned and uploaded as PDF via a form on our site. So far we have been removing rules to increase the chance they won’t get blocked.
I tried to view the questionable files in binary and did in fact see issues with the PDF files such as: expected variable end, tag name expected, unexpected end of comment.
But they are still good enough to be opened on a windows machine. Does anyone have any experience with scanned files which are triggering too many rules?
Here’s a list of the rules being triggered, I’m planning on removing 933100 and 933180.
I did review the security events, and the rules I listed are all that were triggered from this API endpoint. It triggered beyond the OWASP score threshold. The API route sends all of the form data, including file upload so I don’t think I can isolate just the uploads to create a custom rule.
Looks like I can also increase the OWASP score threshold which allows to break more rules before being blocked.
I also need to review every single of the triggered rules to see why they are being triggered, maybe I can fix it and then re-add the rules that were removed.