Symptom
Overview
The CERT alert TA16-132A describes a vulnerability in SAP Java systems about the "Invoker Servlet".
While the vulnerability in question, the “Invoker Servlet”, was already fixed by SAP in SAP NetWeaver 7.20 with SAP Security Note 1445998,this topic may still be relevant.Configuration changes such as these were known to break custom software development by the customer, and this is the reason why the feature was not disabled by default in releases older than SAP NetWeaver 7.20. There may be older versions in use, e.g. in SAP Solution Manager 7.1 or other double stack systems like BI, PI, and even ERP, that need to be maintained. Upgraded versions where the weak configuration setting survived the upgrades may exist as well.
This KBA describes how to identify affected Java systems by using the application Configuration Validation of the SAP Solution Managers to run a cross-system analysis.
Solution for the vulnerability
The solution is availabe as of 2010 as described in note 1445998 - Disabling invoker servlet
Good news: The Invoker Servlet has been disabled by default as of Java release 7.20.
However, keep in mind that older releases, i.e. Java release 7.02, are still in use with up-to-date products from SAP. Even when systems are regularly patched with Support Packages—which is essential for addressing various security vulnerabilities—it remains necessary to configure the security-related switch for the Invoker Servlet in releases prior to Java 7.20.
Ensure, to check all SAP products which are installed with a Java server, i.e. the Portal or double stack systems like ERP, PI or the SAP Solution Manager. Disable the vulnerable feature manually by changing the value of property EnableInvokerServletGlobally of service servlet_jsp on the server nodes to false.
Here is an example showing the navigation path to this property in Java release 7.02:
Check in “System Management” – “Configuration” – “System Properties” – “Global Server Configuration” that in the “Services” tab in “servlet_jsp” the property “EnableInvokerServletGlobally” is set to “false”.
If the property is not visible, upgrade to the release's respective Support Packages as described in the relevant SAP Note 1445998 . This ensures not only the ability to detect usage of the Invoker Servlet and configure the corresponding property, but also compatibility with SAP applications that have removed the Invoker Servlet in the specified Support Packages (refer to the 'Related Notes' section of this KBA).
The same property exists on the server nodes of the system (excluding the dispatcher node), either as a reference to the global value or as an individually set value for that specific server node. It is important to verify that the property is correctly configured on all server nodes. If the value is set individually on a server node, the global value can be restored by selecting the corresponding button, which appears only in such cases.
Read more...
Environment
Related notes
Old applications - either from SAP or created as a custom application - may rely on using the invoker servlet.
The attachment of note 1445998 describes how to identify such use of the invoker servlet.
After the Invoker Servlet is disabled, affected applications return a 403 response code with the following error:
Error: Servlet with class <class name> cannot be loaded
SAP had updated several applications to use individual servlets instead and does not use it anymore for productive applications:
Note 1460635 - RWB link "Index Administration" shows error 403 - forbidden
Note 1463661 - Open SQL monitors: Servlets cannot be loaded
Note 1467771 - Disabling invoker servlet in the portal
Note 1488846 - CRM ECO. Security - Invoker Servlet
Note 1535301 - Invoker Servlet Fix for IS-M/AMC
Note 1537663 - Biller Direct, Security - Invoker Servlet
Note 1589525 - Verb Tampering issues in CTC
Note 1598246 - Servlet declaration missing for LWC SOAP Dispatcher servlet
Note 1802092 - PDF display error due to invoker servlet disabled in NW 7.3
Note 1900752 - VSCANTEST Application returns 403 response code
(There might exist more notes.)
Product
Keywords
TA16-132A Invoker Servlet EnableInvokerServletGlobally servlet_jsp security,ta16-132a,invoker servlet , KBA , BC-JAS-WEB , Web Container, HTTP, JavaMail, Servlets , XX-SER-BOSEC , AGS SEC Backoffice , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview