CVE-2021-38176 SQL injection in SAP LT Replication Server

Critical 9.9 Published Updated

Authenticated users can inject ABAP code or manipulate queries in SAP data replication modules to compromise backend database confidentiality, integrity, and availability.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-38176?

CVE-2021-38176 is a critical SQL injection vulnerability in SAP LT Replication Server, published on 14 Sep 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-89

Which versions are affected by CVE-2021-38176?

It affects 4 products.

Products include Sap Landscape Transformation, Sap Landscape Transformation Replication Server, Sap S\/4hana, Sap Test Data Migration Server.

How do I fix CVE-2021-38176?

No fix has been published for CVE-2021-38176 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2021-38176 being exploited?

There is no known exploitation of CVE-2021-38176 in the wild and no public exploit code.

Sources

Also known as GHSA-4qx6-hc3f-6gj9.

Is CVE-2021-38176 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free