On 11.08.2015 a security relevant correction has been released by SAP SE. The manufacturer resolves an issue within ABAP.
SAP Note 2091403 addresses "Directory traversal in BC-MID-ICF" to prevent directory traversal (read) with a medium risk for exploitation.
A workaround does not exist, according to SAP Security Advisory team. It is advisable to implement the correction as monthly patch process, the team suggests.
Missing authority checks are still the most common security defect related to authorizations in custom code. Since SAP uses an explicit authorization model, an authority checks must be coded in order to be executed. If an explicit check is not coded, all users have access. This type of vulnerability not only exists in SAP standard it also exists in customer coding. Check your custom developments for vulnerabilities that pose a risk to your systems. SecurityBridge helps detect code vulnerabilities before they are implemented in production.
Risk specificationThis note has been re-released with the updated 'Correction instruction' information. - Component BC-MID-ICF contains a vulnerability through which an authenticated attacker can potentially read arbitrary files
The application now checks whether the submitted file name is matching against a whitelist
The advisory 2091403 describes a problem within an ABAP based systems of a specific version. Affected versions are described below. ABAP software is deployed in various software components and is widely used within the SAP product portfolio.
SAP NetWeaver Application Server (formally known as SAP Web Application Server) is a building block of SAP NetWeaver. It is the foundation for most software products developed by SAP SE. SAP NetWeaver systems exist with Java and/or ABAP stacks. The advisory could be relevant for single and dual-stack ABAP installations.
The advisory is valid for
- SAP_BASIS 640
- SAP_BASIS 700-702 33
- SAP_BASIS 710-711 19
- SAP_BASIS 730 32
- SAP_BASIS 731 40
- SAP_BASIS 740 40
- SAP_BASIS 760
- 7.7 [CVE-2021-44232] Directory Traversal vulnerability in SAF-T Framework
- 5.3 Directory traversal in Web Container
- 4.0 [CVE-2021-21475] Directory Traversal vulnerability in SAP NetWeaver Master Data Management 7.1
- 2.7 [CVE-2022-27657] Directory Traversal vulnerability in SAP Focused Run (Simple Diagnostics Agent 1.0)