Closed
Description
Hi,
I encountered a problem on our Apache reverse proxy running ModSecurity (embedded mode). I am currently getting a considerable amount of "OWASP_CRS/LEAKAGE/SOURCE_CODE_ASP_JSP" warnings, as ModSecurity does not seem to recognize gzip content as such (the pattern <% is matched in the encoded content).
Of course, the encoding is disabled between the backend and the reverse Proxy, as content is encoded directly on this very reverse proxy.
I am using the default Ubuntu 14.04 ModSecurity configuration and CRS, repo version.
The VirtualHost configuration is really simple as well,
<VirtualHost *:15080>
DocumentRoot /var/www/www.<host>.com/html
ServerName host.com
ServerAlias www.host.com
ProxyPreserveHost On
ProxyPass / http://<host>/ retry=0
ProxyPassReverse / http://<host>/
</VirtualHost>
I have read a significant amount of (quite old) threads about the problem but each one of them seem to be a dead end.
Waiting for yor feedback,
ArnC