Hi, we use Uppy dashboard component with Tus in our Angular application. Problem is that firewall often blocks the uploaded file because of FALSE POSITIVE attack detection due to characters in uploaded stream (LDAP injection, SQL injection etc.). Have you ever handled this problem? Our security team does not want to modify security settings.
Uppy with tus-js-client WAF false positive attack detected
Started by Anet2 replies75 views
AnetOriginal post
MerlijnTransloadit team
Fairly certain this has nothing to do with the tus protocol but with the files your users are uploading?
johnsmith
Merlijn is right that this is likely the file bytes, not tus itself. tus PATCH requests carry raw binary chunks, so WAF body-inspection rules can match SQL/LDAP-looking strings inside the upload. If your security team won’t relax global rules, ask them for a narrowly scoped exception: only the upload endpoint/method (typically PATCH to your tus path with Content-Type application/offset+octet-stream), or route uploads through a separate hostname/path that has body inspection disabled while keeping the rest of the app protected. That keeps the rules intact elsewhere.