mod_security says "remote file access attempt", severity "critical", tag "web attack/file injection" data "/etc/"
now that's scary enough and I am happy that mod_security blocks that type of request. or should it?
what is the proper way?
- ISPC3 code to be modified not to trigger any modsecurity alerts (currently I do not know if the ajax functions in ISPC are a potential vulnerability?)
or
- modify mod_security rules to allow these requests from ISPC panel.
Posts: 31,886
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
Quote:
now that's scary enough and I am happy that mod_security blocks that type of request. or should it?
No, it should not as it is not a injection attack.
Thats a false positive in mod security rules. A controlpanel mus be able to send a post request that contains the name of a system path like /etc/, otherwise you would not be able to administer the server. And this has nothing to do with the ajax functions in ispconfig.
the false positive is caused by rule file crs_40 line 114, id 950005
Is someone knowledgable enough in mod_security rules to tell the forum how to authorize ISPConfig and only ISPConfig to perform such requests on the server?
Recent comments
9 hours 11 min ago
14 hours 10 min ago
15 hours 36 min ago
16 hours 29 min ago
18 hours 12 min ago
22 hours 36 min ago
23 hours 28 min ago
1 day 1 hour ago
1 day 14 hours ago
1 day 16 hours ago