Medium Severity
Affected system
SAP HANA Platform
CVSS
4.1
Component
HAN-DB-SEC
Patch Day
2021-02
Released on
2021/02/09
SAP Note
2992154
Workaround
Yes
  • Share with:

Advisory

SAP takes the security of its vast product portfolio very seriously and thus releases security fixes for vulnerabilities reported by external researchers and their customers every second Tuesday of the month.

SAP Note 2992154 was released on 09.02.2021 and deals with "[CVE-2021-21474] SAML Assertion Signature MD5 Digest Algorithm Vulnerability in SAP HANA Database" within SAP HANA Platform. We advice you to follow the instructions, to resolve weak security defaults with a medium potential for exploitation in component HAN-DB-SEC.

According to SAP Security Advisory team a workaround exists. It is advisable to implement the correction as part of maintenance.

Risk specification

SAP HANA Database, versions - 1.0, 2.0, accepts SAML tokens with MD5 digest, an attacker who manages to obtain an MD5-digest signed SAML Assertion issued for an SAP HANA instance might be able to tamper with it and alter it in a way that the digest continues to be the same and without invalidating the digital signature, this allows them to impersonate a user in HANA database and be able to read the contents in the database.

Solution

MD5 digest support in SAML assertions has been removed from SAP HANA 2. With SAP HANA 1.0 revision 122.34, a new parameter has been added to disable MD5 in the configuration.  Alternativly, the consulting team has proposed the following: "Disable MD5 for HANA 1.00 by using SQL command, please execute: ALTER SYSTEM ALTER CONFIGURATION ('global.ini', 'SYSTEM') SET ('authentication', 'saml_signature_hash_types') = 'sha1,sha256' WITH RECONFIGURE';". The suggestion may be considered, as a workaround or compensating mitigation. We recommend installing/applying the correction wherever possible and as soon as possible. Base your decision on whether or not to apply the patch on your companies and systems risk perspective and consider the provided CVSS 4.1 score.

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

SecurityBridgefor SAP©
empowers security teams with forward-looking, high fidelity, adversary-focused intelligence and actionable events from SAP Netweaver based systems.

 
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.

SecurityBridge

© Copyright 2024 by SecurityBridge GmbH

v35.0