LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2021-38163: SAP NetWeaver Unrestricted File Upload Vulnerability

RBRecent Breaches Vulnerability Intelligence·Jun 9, 2022
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Jun 30, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2021-38163 to its Known Exploited Vulnerabilities catalog on Jun 9, 2022, with a federal patch deadline of Jun 30, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

SAP NetWeaver contains a vulnerability that allows unrestricted file upload.

CVE-2021-38163 is an unrestricted file upload vulnerability in SAP NetWeaver. It allows an attacker to place files on the system in ways the application should not permit. For IT and security teams running SAP landscapes, this matters because successful abuse of file-upload flaws can lead to unauthorized code execution, persistence, or further movement inside the environment. Public detail is limited to the product and weakness class; confirm exact scope, fixed releases, and configuration notes against the vendor advisory.

How it works

The weakness is tracked as CWE-23 and is described as unrestricted file upload in SAP NetWeaver. In this class of flaw, the application fails to adequately constrain the name, path, type, or location of content that a user (or attacker) can upload. An attacker who can reach the vulnerable upload functionality may supply a crafted request that causes the server to accept and store a file outside the intended directory or with an unintended name. Once a malicious file is on disk, the attacker may attempt to invoke it through other application features, misconfigurations, or secondary weaknesses. Exact request format, authentication requirements, and reachable endpoints are not provided in the given facts; treat any public proof-of-concept claims cautiously and validate behavior only in a controlled lab against the vendor’s description.

Am I affected? How to find it in your systems

SAP NetWeaver commonly underpins ERP, portal, and integration workloads and may appear as application servers, Java or ABAP stacks, or related middleware in data centers and private clouds. Inventory every NetWeaver instance, including non-production and forgotten systems:

For exploitation signs, examine web and application logs for anomalous upload requests, unexpected file creations under application directories, or sudden appearance of unfamiliar scripts or binaries. Correlate with authentication logs and outbound connections from NetWeaver hosts. Absence of obvious indicators does not prove the system was never targeted.

How to remediate

Patch first. Apply the updates published by SAP for this vulnerability exactly as described in the vendor advisory and follow CISA’s required action to apply updates per vendor instructions. After patching:

If you can't patch immediately

Until the vendor update can be installed, reduce exposure with compensating controls:

These measures lower risk but do not replace the official patch. Schedule the update as soon as operationally feasible.

If your data may have been exposed

Actively exploited vulnerabilities can lead to breaches even when ransomware use is not documented for this CVE. If you have reason to believe an upload was abused, follow your incident-response plan: isolate affected hosts, preserve logs and disk images, and assess whether credentials, business data, or adjacent systems were accessed. As a simple additional check, you can run a free exposure scan of your email addresses against known breach data to see whether associated accounts appear in prior public dumps, then force password resets and review multifactor authentication coverage where warranted.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedSAP · NetWeaver
WeaknessCWE-23
Added to CISA KEVJun 9, 2022
Federal patch deadlineJun 30, 2022
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities