Apache RewriteRule Mitigation for log4shell

Yes, you should update ASAP to a patched version of Log4J. You should also consider other ways you can be exploited – do you have java processing emails? But layers of security never hurt, so you can also try this: RewriteCond %{THE_REQUEST} \${ [OR] RewriteCond %{REQUEST_URI} \${ [OR] RewriteCond %{QUERY_STRING} \${ [OR] RewriteCond %{HTTP_USER_AGENT} \${ …

Continue reading ‘Apache RewriteRule Mitigation for log4shell’ »

Add tracking IDs to your web application

With a complex multi-tier stack with HTTP requests getting proxied it can be difficult to track a request as it goes around the system. One thing you can do is enable mod_unique_id in apache – this creates a distinct environment variable UNIQUE_ID in the web server context for each incoming request. Simply loading the module …

Continue reading ‘Add tracking IDs to your web application’ »