Adobe® ColdFusion® 10 Server Lockdown Guide

Adobe® ColdFusion® 10 Server Lockdown Guide Adobe® ColdFusion® 10 Server Lockdown Guide

16.04.2013 Views

Setting Default Recommendation Description Site URL http://www.adobe. com/go/coldfusion -updates HTTPS version of url - or specify an internal URL Change the default URL to https to avoid a spoofed update. If your network security policy does not allow external internet connection you can maintain a internal update URL which could be updated manually. 74

Section 6: ColdFusion Server Services ColdFusion provides a large number of services for developers to take advantage of. Most applications do not make use of all these services, and can therefore be disabled to improve security. 6.1 Servlets and Servlet Mappings in web.xml All JEE web applications have a file in the WEB-INF directory called web.xml this file defines the servlets and servlet mappings for the JEE web application. A servlet mapping defines a URI pattern that a particular servlet responds to. For example the servlet that handles requests for .cfm files is called the CfmServlet the servlet mapping for that looks like this: CfmServlet *.cfm The servlets are also defined in the web.xml file, the CfmServlet is defined as: CfmServlet CFML Template Processor Compiles and executes CFML pages and tags coldfusion.bootstrap.BootstrapServlet servlet.class coldfusion.CfmServlet 4 We can remove servlet mappings in the web.xml to reduce the surface of attack. You don’t typically want to remove the CfmServlet or its servlet mapping, but there are other servlets and mappings that may be removed. 75

Section 6: ColdFusion <strong>Server</strong> Services<br />

ColdFusion provides a large number of services for developers to take advantage of. Most applications do not<br />

make use of all these services, and can therefore be disabled to improve security.<br />

6.1 Servlets and Servlet Mappings in web.xml<br />

All JEE web applications have a file in the WEB-INF directory called web.xml this file defines the servlets and<br />

servlet mappings for the JEE web application. A servlet mapping defines a URI pattern that a particular servlet<br />

responds to. For example the servlet that handles requests for .cfm files is called the CfmServlet the servlet<br />

mapping for that looks like this:<br />

<br />

CfmServlet<br />

*.cfm<br />

<br />

The servlets are also defined in the web.xml file, the CfmServlet is defined as:<br />

<br />

CfmServlet<br />

CFML Template Processor<br />

Compiles and executes CFML pages and tags<br />

coldfusion.bootstrap.BootstrapServlet<br />

<br />

servlet.class<br />

coldfusion.CfmServlet<br />

<br />

4<br />

<br />

We can remove servlet mappings in the web.xml to reduce the surface of attack. You don’t typically want to<br />

remove the CfmServlet or its servlet mapping, but there are other servlets and mappings that may be removed.<br />

75

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!