JSON based upload not scan by webshell protection
Hi,
Need your recommendation on how to block this. Just making sure that this is not configuration issue.
Environment:
- App with login, register, and upload function. All are using JSON but with GUI.
- FortiWeb with JSON Protection Policy and Signature Detection enabled.
- File Security and WebShell Detection enabled. PHP file extension not block.
For both login and register function, if we were injecting malicious payload, they will be blocked. no issue here. refer screenshots.
login and register
blocked
attack-log
For upload function, Anti-Virus works well. Test upload an eicar.zip file was blocked.
However, for WebShell upload like oneliner or c99, these files was not block.
response-success
return 200
Same file was blocked if not using JSON upload.
blocked
So far i notice that file uploads rule, it ask for json setting. However for WebShell detection, no such thing.
json setting
Any thought on this?
Thanks and regards,
Muhaimi
