Medium Severity
Affected system
ABAP
CVSS
4.9
Component
BC-DWB-TOO
Patch Day
2021-11
Released on
2021/11/09
SAP Note
3105728
Workaround
Yes
  • Share with:

Advisory

A note with CVSS 4.9 for component BC-DWB-TOO was released by SAP on 09.11.2021. The correction/advisory 3105728 was described with "[CVE-2021-40504] Leverage of Permission in SAP NetWeaver Application Server for ABAP and ABAP Platform" 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 authorization check 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 template role SAP_BC_DWB_WBDISPLAY is expected to contain display authorizations for the development workbench only. This is not the case as it contains some change activities about transport management. If you have generated the profile for this role have copied this role and assigned it to users, then these users have too strong authorizations.

Solution

The template role SAP_BC_DWB_WBDISPLAY is adjusted and the activities IMPA and IMPS are in authorization object S_CTS_ADMI.  Although an alternative solution exists, it is advisable to apply the correction! This is the workaround, which was suggested by the SAP security experts: "Such roles can be identified by transaction SUIM, searching for roles with object S_CTS_ADMI and activities IMPA and IMPS. Identified roles and role SAP_BC_DWB_WBDISPLAY can be adjusted by transaction PFCG.".

Affected System

The advisory 3105728 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

 

 

Disclaimer

SecurityBridge takes the security of SAP products very seriously. We very much encourage the responsible disclosure of security vulnerabilities. If you have detected a vulnerability concerning one of the SAP software products – either in the latest or in a former product version follow the guidelines and processes in accordance with the SAP portal page “Report a Security Vulnerability to SAP”.

The advisories found within the SecurityBridge advisory are generated and continuously enriched by our Team at SecurityBridge and affiliated security consultants, partners, customers of the SecurityBridge Platform, SAP support, and advisory groups.

We do not disclose zero-day vulnerabilities unless a security patch has been made available to the public. In such case, the platform only provides details on which version or signature updates are available within the SecurityBridge platform in order to monitor or measure the vulnerability.

In accordance with SAP guidelines, SecurityBridge only discloses issues where the fixing security note has been released. The vulnerability platform makes no references to available exploits or Proof of Concepts (PoC). Advisories and vulnerabilities will always mention the fixing security note or hints to the corresponding SAP documentation.

SecurityBridge - Code vulnerabilty analysis

Secure code
Customer created code contains security risks. Use modern technologies to detect coding flaws mitigate unneccessary risks. Start to detect:

  • Open & Native SQL Injection
  • Potential backdoors
  • Insuffient authorization checks of user administration bypassed
  • Injections of operating system commands
  • and many more..
Follow us
 
ABEX logo

SecurityBridge helps in prioritizing SAP patches, updates and the remediation
strategies essential for preventing the disruption of vital business systems.
We help businesses in making their SAP systems more secure.

Company

© Copyright 2021 by SecurityBridge // NCMI GmbH