Clickjacking Prevention in Tomcat
Answered
We've recently had a result on our security scan that Yellowfin / Tomcat is possibly vulnerable to Clickjacking.
What modifications can we make to the Tomcat configuration to mitigate this?
It's possible to enable the Tomcat antiClickjacking options for this purpose. Tomcat has built in configuration options for this that can be enabled without affecting Yellowfin functionality.
Add the following to <YellowfinInstall>/appserver/webapps/ROOT/WEB-INF/web.xml inside the <web-app> block:
It's possible to enable the Tomcat antiClickjacking options for this purpose. Tomcat has built in configuration options for this that can be enabled without affecting Yellowfin functionality.
Add the following to <YellowfinInstall>/appserver/webapps/ROOT/WEB-INF/web.xml inside the <web-app> block:
It's possible to enable the Tomcat antiClickjacking options for this purpose. Tomcat has built in configuration options for this that can be enabled without affecting Yellowfin functionality.
Add the following to <YellowfinInstall>/appserver/webapps/ROOT/WEB-INF/web.xml inside the <web-app> block:
It's possible to enable the Tomcat antiClickjacking options for this purpose. Tomcat has built in configuration options for this that can be enabled without affecting Yellowfin functionality.
Add the following to <YellowfinInstall>/appserver/webapps/ROOT/WEB-INF/web.xml inside the <web-app> block:
I don't see that with my tomcat version - 7.0.42 .. can I just add it?
I don't see that with my tomcat version - 7.0.42 .. can I just add it?
Hi Dave,
Thanks for reaching out with your inquiry. You are correct, simply add the snippet as pictured. I recommend adding this directly before the closing </web-app> tag at the bottom of the web.xml file. This change will also require restarting the Tomcat / Yellowfin service. If you have any problems don't hesitate to submit a private ticket for direct assistance.
Best Regards,
Ryan
Hi Dave,
Thanks for reaching out with your inquiry. You are correct, simply add the snippet as pictured. I recommend adding this directly before the closing </web-app> tag at the bottom of the web.xml file. This change will also require restarting the Tomcat / Yellowfin service. If you have any problems don't hesitate to submit a private ticket for direct assistance.
Best Regards,
Ryan
Replies have been locked on this page!