Summary
Reference
SUPPORT COMMUNICATION - SECURITY BULLETIN
Potential Security Impact: File content disclosure / remote code execution in Apache Tomcat
VULNERABILITY SUMMARY
A vulnerability in Apache Tomcat was addressed by Asset Manager The vulnerability could be exploited to file content disclosure of the web application or remote code execution.
When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Tomcat treats AJP connections as having higher trust than, for example, a similar HTTP connection. If such connections are available to an attacker, they can be exploited in ways that may be surprising. In Apache Tomcat 9.0.0.M1 to 9.0.0.30, 8.5.0 to 8.5.50 and 7.0.0 to 7.0.99, Tomcat shipped with an AJP Connector enabled by default that listened on all configured IP addresses. It was expected (and recommended in the security guide) that this Connector would be disabled if not required. This vulnerability report identified a mechanism that allowed: - returning arbitrary files from anywhere in the web application - processing any file in the web application as a JSP Further, if the web application allowed file upload and stored those files within the web application (or the attacker was able to control the content of the web application by some other means) then this, along with the ability to process a file as a JSP, made remote code execution possible. It is important to note that mitigation is only required if an AJP port is accessible to untrusted users. Users wishing to take a defense-in-depth approach and block the vector that permits returning arbitrary files and execution as JSP may upgrade to Apache Tomcat 9.0.31, 8.5.51 or 7.0.100 or later. A number of changes were made to the default AJP Connector configuration in 9.0.31 to harden the default configuration. It is likely that users upgrading to 9.0.31, 8.5.51 or 7.0.100 or later will need to make small changes to their configurations.
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1938
CVE References:
CVE-2020-1938
SUPPORTED SOFTWARE VERSIONS*: ONLY impacted versions are listed.
Asset Manager 9.5x; Asset Manager 9.6x; Asset Manager 9.7x
CVSS Version 3.0 and Version 2.0 Base Metrics
Reference |
V3 Vector |
V3 Base Score |
V2 Vector |
V2 Base Score |
---|---|---|---|---|
CVE-2020-1938 |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
9.8 |
(AV:N/AC:L/Au:N/C:P/I:P/A:P) |
7.5 |
RESOLUTION
Micro Focus has made the following mitigation information available to resolve the vulnerability for the impacted versions of Asset Manager 9.5x, Asset Manager 9.6x and Asset Manager 9.7x:
Disable AJP connector of Asset Manager WebService:
1. Locate the server.xml file in Tomcat.
<Asset Manager directory>/tomcat_webservice/conf/server.xml
2. Open the server.xml and locate the following line:
<Connector port="30202" protocol="AJP/1.3" redirectPort="30400" />
Edit the line as follows and save the file:
<!-- <Connector port="30202" protocol="AJP/1.3" redirectPort="30400" /> -->
3. Restart the Tomcat
Disable AJP connector of Asset Manager WebTier:
1. Locate the server.xml file in Tomcat.
<Asset Manager directory>/tomcat_ webtier /conf/server.xml
2. Open the server.xml and locate the following line:
<Connector port="30102" protocol="AJP/1.3" redirectPort="30300" />
Edit the line as follows and save the file:
<!-- <Connector port="30102" protocol="AJP/1.3" redirectPort="30300" /> -->
3. Restart the Tomcat
Third Party Security Patches: Third party security patches that are to be installed on systems running Micro Focus software products should be applied in accordance with the customer's patch management policy.
Support: For issues about implementing the recommendations of this Security Bulletin, contact normal Micro Focus services support channel. For other issues about the content of this Security Bulletin, send e-mail to Product Security Team.
Report: To report a potential security vulnerability for any supported product:
· Web Form: https://mysupport.microfocus.com/psrt
· Email: security@microfocus.com
Subscribe: To initiate receiving subscriptions for future Micro Focus Security Bulletin alerts via Email, please subscribe here - https://mysupport.microfocus.com/group/softwaresupport/email-notification/-/subscriptions/registerdocumentnotification
Once you are logged in to the portal, please choose security bulletins under “product” and “document types”.
Please note that you will need to sign in using a Passport account. If you do not have a Passport account yet, you can create one- it’s free and easy https://www.microfocus.com/selfreg/jsp/createAccount.jsp
Security Bulletin Archive: A list of recently released Security Bulletins is available here: https://mysupport.microfocus.com/security-vulnerability
Software Product Category: The Software Product Category is represented in the title by the two characters following Micro Focus Security Bulletin.
3P = 3rd Party Software
GN = Micro Focus General Software
MU = Multi-Platform Software
System management and security procedures must be reviewed frequently to maintain system integrity. Micro Focus is continually reviewing and enhancing the security features of software products to provide customers with current secure solutions.
"Micro Focus is broadly distributing this Security Bulletin in order to bring to the attention of users of the affected Micro Focus products the important security information contained in this Bulletin. Micro Focus recommends that all users determine the applicability of this information to their individual situations and take appropriate action. Micro Focus does not warrant that this information is necessarily accurate or complete for all user situations and, consequently, Micro Focus will not be responsible for any damages resulting from user's use or disregard of the information provided in this Security Bulletin. To the extent permitted by law, Micro Focus disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose, title and non-infringement."
© Copyright Micro Focus
Micro Focus shall not be liable for technical or editorial errors or omissions contained herein. The information provided is provided "as is" without warranty of any kind. To the extent permitted by law, neither Micro Focus nor its affiliates, subcontractors or suppliers will be liable for incidental, special or consequential damages including downtime cost; lost profits; damages relating to the procurement of substitute products or services; or damages for loss of data, or software restoration. The information in this document is subject to change without notice. Micro Focus and the names of Micro Focus products referenced herein are trademarks of Micro Focus in the United States and other countries. Other product and company names mentioned herein may be trademarks of their respective owners.