Advisory
A note with CVSS 9.1 for component IS-OIL-DS-HPM was released by SAP on 11.07.2023. The correction/advisory 3350297 was described with "[CVE-2023-36922] OS command injection vulnerability in SAP ECC and SAP S/4HANA (IS-OIL)" and affects the system type ABAP.
A workaround does not exist, according to SAP Security Advisory team. It is advisable to implement the correction as monthly patch process .
The vulnerability addressed is os command injection within ABAP.
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 specification
The fix provided in this security note is incomplete. Due to programming error in function module and report, IS-OIL component in SAP ECC and SAP S/4HANA allows an authenticated attacker to inject an arbitrary operating system command into an unprotected parameter in a common (default) extension.Solution
The programming error has been fixed, there is no provision for the user to input values manually, only the authenticated values can be chosen via the value help.
Affected System
The advisory 3350297 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
- IS-OIL 600 3
- IS-OIL 602 3
- IS-OIL 603 3
- IS-OIL 604 3
- IS-OIL 605 3
- IS-OIL 606 3
- IS-OIL 617 3
- IS-OIL 618 3
- IS-OIL 800 3
- IS-OIL 802 4
- IS-OIL 803 4
- IS-OIL 804 3
- IS-OIL 805 3
- IS-OIL 806 3
- IS-OIL 807 3
- 9.9 [CVE-2021-37531] Code Injection vulnerability in SAP NetWeaver Knowledge Management (XMLForms)
- 9.1 Update 1 to 3350297 - [CVE-2023-36922] OS command injection vulnerability in SAP ECC and SAP S/4HANA (IS-OIL)
- 9.1 [CVE-2020-26820] Privilege escalation in SAP NetWeaver Application Server for Java (UDDI Server)
- 9.1 Update 2 to Security Note 2808158: [CVE-2019-0330] OS Command Injection vulnerability in SAP Diagnostics Agent
- 9.0 [CVE-2023-25617] OS Command Execution vulnerability in SAP Business Objects Business Intelligence Platform (Adaptive Job Server)