Advisory
On 14.04.2020 a security relevant correction has been released by SAP SE. The manufacturer resolves an issue within Java.
SAP Note 2896682 addresses "[CVE-2020-6225] Directory Traversal vulnerability in SAP NetWeaver (Knowledge Management)" to prevent directory traversal (read/write) with a hot news risk for exploitation.
A workaround does exist, according to SAP Security Advisory team. It is advisable to implement the correction as part of maintenance, the team suggests.
Risk specification
SAP NetWeaver Knowledge Management does not sufficiently validate path information provided by users, thus characters representing ‘traverse to parent directory’ are passed through to the file APIs ,allowing an attacker to overwrite, delete, or corrupt arbitrary files on the remote server, leading to Path Traversal.Solution
SAP NetWeaver Knowledge Management has been updated to include additional checks on the parameter. Circumstances exist that prevent the timely installation of a patch provided by the manufacturer. In such cases, you may consider applying the suggested workaround as a temporary or compensating mitigation: "The issue is about uploading files into the Portal which require authorizations for Portal Content administration. Therefore you should verify which users are assigne to role pcd:portal_content/administrator/content_admin/content_admin_role".
Affected System
SAP Netweaver Application Server Java is part of the SAP NetWeaver Application Platform. It provides the complete infrastructure for deploying and running Java applications.
- The AS Java Home: SAP Netweaver Application Server Java wiki
- A dedicated SAP NetWeaver 7.40 Application Server for Java Security Guide exists.
The advisory is valid for
- KMC-CM 7.00-7.02
- KMC-CM 7.30 6
- KMC-CM 7.31 6
- KMC-CM 7.40 6
- KMC-CM 7.50 6
- KMC-WPC 7.30
- KMC-WPC 7.31
- KMC-WPC 7.40
- KMC-WPC 7.50 2