Advisory
On 14.02.2023 a security relevant correction has been released by SAP SE. The manufacturer resolves an issue within ABAP.
SAP Note 3275841 addresses "[CVE-2023-23851] Unrestricted File Upload in SAP Business Planning and Consolidation" to prevent code injection 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 part of maintenance, 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 specification
SAP Business Planning and Consolidation allows an attacker with business authorization to upload any files without the proper file format validation.Solution
SAP Business Planning and Consolidation now checks the content type of the uploaded file to be an image before allowing the upload.
Affected System
The advisory 3275841 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
- 9.9 [CVE-2023-0022] Code Injection vulnerability in SAP BusinessObjects Business Intelligence platform (Analysis edition for OLAP)
- 8.8 [CVE-2023-27893] Arbitrary Code Execution in SAP Solution Manager and ABAP managed systems (ST-PI)
- 7.0 [CVE-2022-41211] Arbitrary Code Execution vulnerability in SAP 3D Visual Enterprise Author and SAP 3D Visual Enterprise Viewer
- 6.4 [CVE-2023-0012] Local Privilege Escalation in SAP Host Agent (Windows)