Advisory
A note with CVSS 6.5 for component CA-GTF-DOB was released by SAP on 11.06.2024. The correction/advisory 3459379 was described with "[CVE-2024-34683] Unrestricted file upload in SAP Document Builder (HTTP service)" and affects the system type ABAP.
A workaround exists, according to SAP Security Advisory team. It is advisable to implement the correction as project.
The vulnerability addressed is missing security function 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 manual instructions information. A vulnerability in SAP Document Builder service allows an authenticated attacker to upload malicious files. If a victim accesses the file, the attacker can access or modify the related information in the browser of the victim.Solution
During file upload, the MIME type is checked with a new scan functionality. Although an alternative solution exists, it is advisable to apply the correction! This is the workaround, which was suggested by the SAP security experts: "Create a custom virus scan profile with the permitted MIME types and add it to the Web Dynpro Application IPRO/WD_DOCB as described in the note.".
Affected System
The advisory 3459379 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 33
- S4CORE 101 44
- S4FND 102 16
- S4FND 103 16
- S4FND 104 16
- S4FND 105 13
- S4FND 106 11
- S4FND 107 9
- S4FND 108 4
- SAP_BS_FND 702 4
- SAP_BS_FND 731 3
- SAP_BS_FND 746 3
- SAP_BS_FND 747 3
- SAP_BS_FND 748 3
- 9.9 [CVE-2021-33698] Unrestricted File Upload vulnerability in SAP Business One
- 7.1 [CVE-2022-39801] Insufficient Firefighter Session Expiration in SAP GRC Access Control Emergency Access Management
- 6.3 Unauthorized use of application functions in SAP GUI for HTML
- 5.4 [CVE-2020-26816] Missing Encryption in SAP NetWeaver AS Java (Key Storage Service)
- 5.3 [CVE-2020-6228] Missing Integrity Check in SAP BUSINESS CLIENT