Adobe® ColdFusion® 10 Server Lockdown Guide

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

16.04.2013 Views

MessageBrokerServlet /flex2gateway/* FlashGateway /flashservices/gateway/* 6.6 Disabling Flash Form Servlet Mappings If you are not using Flash forms ()you can disable the servlet mappings used to serve flash forms. Remove flash form servlet mappings: CFFormGateway /CFFormGateway/* CFInternalServlet /cfform-internal/* CFSwfServlet *.cfswf 6.7 Disabling the CFReport Servlet Mapping 78

If you are not using the cfreport you can change the servlet mapping for *.cfr to point to the CFForbiddenServlet, this servlet will return 403 forbidden response if a cfr file is requested: CFCServlet *.cfr Change to: CFForbiddenServlet *.cfr Be sure to remove the .cfr mapping on the web server. 6.8 Remove WSRP Servlet Mapping The WSRP Servlets and Filters are used to support Web Services for Remote Portlets, a SOAP based API for serving portlets. If this feature is not used the web services Remove the WSRPFilter Servlet Mapping: WSRPProducer /WSRPProducer/* 6.9 Disabling the CFFileServlet Mapping The CFFileServlet is used to serve dynamically generated assets. It is used to support the following tags cfreport, cfpresentation, and cfimage (with action=captcha and action=writeToBrowser). If you are not using these features you may remove the servlet mapping: 79

If you are not using the cfreport you can change the servlet mapping for *.cfr to point to the<br />

CFForbiddenServlet, this servlet will return 403 forbidden response if a cfr file is requested:<br />

<br />

CFCServlet<br />

*.cfr<br />

<br />

Change to:<br />

<br />

CFForbiddenServlet<br />

*.cfr<br />

<br />

Be sure to remove the .cfr mapping on the web server.<br />

6.8 Remove WSRP Servlet Mapping<br />

The WSRP Servlets and Filters are used to support Web Services for Remote Portlets, a SOAP based API for<br />

serving portlets. If this feature is not used the web services<br />

Remove the WSRPFilter Servlet Mapping:<br />

<br />

WSRPProducer<br />

/WSRPProducer/*<br />

<br />

6.9 Disabling the CFFileServlet Mapping<br />

The CFFileServlet is used to serve dynamically generated assets. It is used to support the following tags<br />

cfreport, cfpresentation, and cfimage (with action=captcha and action=writeToBrowser). If you are not using<br />

these features you may remove the servlet mapping:<br />

79

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

Saved successfully!

Ooh no, something went wrong!