Hi,
ModSecurity upload scan through ClamAV doesn't seem to be working on my server. ModSecurity and ClamAV both are working fine though.
The options.conf values are as follows -
I have tried rebuilding modsecurity, clamav and nginx_apache but still no luck. I still can upload eicar test files and shells/malware through php uploader and during the upload I don't see anything to get logged into modsec_audit.log
What I'm doing wrong here? I haven't tried changing the webserver yet. Is nginx_apache the issue here? Could you please try and check if uploadscan is working perfectly on your server?
Thanks.
ModSecurity upload scan through ClamAV doesn't seem to be working on my server. ModSecurity and ClamAV both are working fine though.
The options.conf values are as follows -
#ClamAV-related Settings
clamav=yes
clamav_exim=yes
modsecurity_uploadscan=yes
proftpd_uploadscan=yes
pureftpd_uploadscan=yes
suhosin_php_uploadscan=yes
#WEB Server Settings
unit=no
webserver=nginx_apache
http_methods=ALL
litespeed_serialno=trial
modsecurity=yes
modsecurity_ruleset=comodo
apache_ver=2.4
apache_mpm=auto
mod_ruid2=yes
userdir_access=no
harden_symlinks_patch=yes
use_hostname_for_alias=no
redirect_host=xxx.xxx.xxx
redirect_host_https=no
I have tried rebuilding modsecurity, clamav and nginx_apache but still no luck. I still can upload eicar test files and shells/malware through php uploader and during the upload I don't see anything to get logged into modsec_audit.log
What I'm doing wrong here? I haven't tried changing the webserver yet. Is nginx_apache the issue here? Could you please try and check if uploadscan is working perfectly on your server?
Thanks.