8.8
HIGH
CVE-2021-38176
SAP ABAP Code Injection (Remote Code Execution)
Description

Due to improper input sanitization, an authenticated user with certain specific privileges can remotely call NZDT function modules listed in Solution Section to execute manipulated query or inject ABAP code to gain access to Backend Database. On successful exploitation the threat actor could completely compromise confidentiality, integrity, and availability of the system.

INFO

Published Date :

Sept. 14, 2021, 12:15 p.m.

Last Modified :

Nov. 21, 2024, 6:16 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2021-38176 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Sap s\/4hana
2 Sap landscape_transformation
3 Sap landscape_transformation_replication_server
4 Sap test_data_migration_server
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-38176.

URL Resource
https://launchpad.support.sap.com/#/notes/3089831 Permissions Required
https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=585106405 Vendor Advisory
https://launchpad.support.sap.com/#/notes/3089831 Permissions Required
https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=585106405 Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-38176 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-38176 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://launchpad.support.sap.com/#/notes/3089831
    Added Reference https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=585106405
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Jul. 12, 2022

    Action Type Old Value New Value
    Changed CWE CWE-20 CWE-89
  • Modified Analysis by [email protected]

    Dec. 06, 2021

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 30, 2021

    Action Type Old Value New Value
    Changed Description Due to improper input sanitization, an authenticated user with certain specific privileges can remotely call NZDT function modules listed in Solution Section to execute manipulated query to gain access to Backend Database. On successful exploitation the threat actor could completely compromise confidentiality, integrity, and availability of the system. Due to improper input sanitization, an authenticated user with certain specific privileges can remotely call NZDT function modules listed in Solution Section to execute manipulated query or inject ABAP code to gain access to Backend Database. On successful exploitation the threat actor could completely compromise confidentiality, integrity, and availability of the system.
  • Initial Analysis by [email protected]

    Sep. 27, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:C/I:C/A:C)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://launchpad.support.sap.com/#/notes/3089831 No Types Assigned https://launchpad.support.sap.com/#/notes/3089831 Permissions Required
    Changed Reference Type https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=585106405 No Types Assigned https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=585106405 Vendor Advisory
    Added CWE NIST CWE-20
    Added CPE Configuration OR *cpe:2.3:a:sap:landscape_transformation:2.0:*:*:*:*:*:*:* *cpe:2.3:a:sap:landscape_transformation_replication_server:1.0:*:*:*:*:s\/4hana:*:* *cpe:2.3:a:sap:landscape_transformation_replication_server:2.0:*:*:*:*:*:*:* *cpe:2.3:a:sap:landscape_transformation_replication_server:3.0:*:*:*:*:*:*:* *cpe:2.3:a:sap:s\/4hana:1511:*:*:*:*:*:*:* *cpe:2.3:a:sap:s\/4hana:1610:*:*:*:*:*:*:* *cpe:2.3:a:sap:s\/4hana:1709:*:*:*:*:*:*:* *cpe:2.3:a:sap:s\/4hana:1809:*:*:*:*:*:*:* *cpe:2.3:a:sap:s\/4hana:1909:*:*:*:*:*:*:* *cpe:2.3:a:sap:s\/4hana:2020:*:*:*:*:*:*:* *cpe:2.3:a:sap:s\/4hana:2021:*:*:*:*:*:*:* *cpe:2.3:a:sap:test_data_migration_server:4.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-38176 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.10 }} 0.01%

score

0.41112

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability