How to hide DWR class index? -
dwr publishes index of classes under [context root]/dwr/
. index contains links more details services. seems information leakage me , hide/unpublish these pages not accesible.
how can configure dwr hide class index?
found great pentesting blog talks here: http://gerionsecurity.com/2012/09/experiences-in-pentesting-dwr/
essentially disable debugging in in web.xml when configure servlet.
<servlet> <servlet-name>dwr-invoker</servlet-name> <servlet-class>org.directwebremoting.servlet.dwrservlet</servlet-class> <init-param> <param-name>debug</param-name> <param-value>false</param-value> </init-param> </servlet>
Comments
Post a Comment