In web.xml of the affwebservices application, the router servlet is mapped to org.apache.soap.server.http.RPCRouterServlet. This servlet is exploitable by XXE injection [2].
The affwebservices.war file compiled with a Web Agent Option Pack older than 12.52 SP1 CR06 still contains this servlet definition.
Fixed in Web Agent Option Pack 12.52 SP1 CR06. The router servlet definition is removed out of the box from that release onward [2].
Option 1: Upgrade and compile again (recommended when affwebservices.war was compiled with an older Web Agent Option Pack)
affwebservices.war file to Tomcat, and restart Tomcat./affwebservices/router again. The server returns an HTTP 404 error, and the attack is blocked [2].Option 2: Workaround, comment out the router servlet
<!--<servlet> <servlet-name>router</servlet-name> <display-name>Apache-SOAP RPC Router</display-name> <description>This is the main servlet that dispatches the SOAP requests to registered web services</description> <servlet-class>org.apache.soap.server.http.RPCRouterServlet</servlet-class> <init-param> <param-name>faultListener</param-name> <param-value>org.apache.soap.server.DOMFaultListener</param-value> </init-param> </servlet>-->
4. Start Tomcat./affwebservices/router again. The server returns an HTTP 404 error, and the attack is blocked [2].FWS does not use the Apache SOAP RPC router servlet, so removing the definition does not affect FWS functions [3].