Directory Traversal vulnerability in SAP NetWeaver (BI_CONT Add-On)
Impact On Business
An authenticated attacker with high privileges can leverage a directory traversal flaw to overwrite a file which is otherwise restricted. On successful exploitation an attacker can compromise the availability and integrity of the system.
Affected Components Description
SAP NetWeaver AS for ABAP and ABAP Platform provide both the core runtime and development environment for all ABAP programs.
Vulnerability Details
Executable ABAP program RSXSA_FILE_UPLOAD_DOWNLOAD in SAP NetWeaver AS for ABAP and ABAP Platform (BI_CONT software component) fails to perform necessary authorization checks and constructs an absolute file path based on insufficiently validated user input, enabling attackers with high privileges to upload and overwrite unintended files including system-critical configurations, executables, and libraries. Successful exploitation can render the targeted system unavailable.
Solution
SAP has released SAP Note 3305907 which provides patched versions of the affected components.
The patches can be downloaded from https://me.sap.com/notes/3305907.
Onapsis strongly recommends SAP customers to download the related security fixes and apply them to the affected components in order to reduce business risks.
Report Timeline
- 01/24/2023: Vulnerability reported to vendor.
- 04/11/2023: Vendor publishes SAP Note fixing the issue.
References
- Onapsis blogpost: https://onapsis.com/blog/sap-patch-day-april-2023/
- CVE Mitre: https://www.cve.org/CVERecord?id=CVE-2023-29186
- Vendor Patch: https://me.sap.com/notes/3305907
Advisory Information
- Public Release Date: 09/18/2024
- Security Advisory ID: ONAPSIS-2024-0036
- Researcher(s): Gabriel Durdiak
Vulnerability Information
- Vendor: SAP
- Affected Components:
- SAP NetWeaver AS for ABAP and ABAP Platform – Add-on BI_CONT 707
- SAP NetWeaver AS for ABAP and ABAP Platform – Add-on BI_CONT 737
- SAP NetWeaver AS for ABAP and ABAP Platform – Add-on BI_CONT 747
- SAP NetWeaver AS for ABAP and ABAP Platform – Add-on BI_CONT 757
(Check SAP Note 3305907 for detailed information on affected releases)
- Vulnerability Class: CWE-22
- CVSS v3 score: 8.7 (AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H)
- Risk Level: High
- Assigned CVE: CVE-2023-29186
- Vendor patch Information: SAP Security NOTE 3305907
ABOUT OUR RESEARCH LABS
Onapsis Research Labs provides the industry analysis of key security issues that impact mission-critical systems and applications.
Delivering frequent and timely security and compliance advisories with associated risk levels, Onapsis Research Labs combine in-depth knowledge and experience to deliver technical and business-context with sound security judgment to the broader information security community.
Find all reported vulnerabilities at:
https://github.com/Onapsis/vulnerability_advisories
This advisory is licensed under a Creative Commons 4.0 BY-ND International License