Advisory
A note with CVSS 8.7 for component FI-FIO-AP was released by SAP on 11.01.2022. The correction/advisory 3112928 was described with "[CVE-2022-22531] Multiple vulnerabilities in F0743 Create Single Payment application of SAP S/4HANA" and affects the system type ABAP.
A workaround exists, according to SAP Security Advisory team. It is advisable to implement the correction as part of maintenance.
The vulnerability addressed is cross-site scripting code 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
This note has been re-released with updated 'Solution' information. The F0743 Create Single Payment application of SAP S/4HANA does not check uploaded or downloaded files. A Reflected Cross-Site Scripting (XSS) vulnerability in SAP S/4HANA allows an attacker with basic user rights to run arbitrary script code, resulting in sensitive information being disclosed or modified. A code injection vulnerability in SAP S/4HANA allows an attacker with basic user rights to inject dangerous content or malicious code which could result in critical information being modified or completely compromise the availability of the application.Solution
This SAP Security Note implements the Virus Scanner Interface (VSI) that checks a file during upload and download. This feature, however, relies on the antivirus software being installed, configured, and enabled on the client computer or other device from which a file is uploaded. Although an alternative solution exists, it is advisable to apply the correction! This is the workaround, which was suggested by the SAP security experts: "As an alternative workaround, a manual scan of a file before its upload is recommended. Also, it is not advisable to open an uploaded file directly in a web browser. Instead, the file should be downloaded to the local file system and manually scanned before opening.".
Affected System
The advisory 3112928 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
- S4CORE 100 32
- S4CORE 101 43
- S4CORE 102 46
- S4CORE 103 49
- S4CORE 104 45
- S4CORE 105 33
- S4CORE 106 23