Compromised SAP NetWeaver instances are ushering in opportunistic threat actors
Vulnerabilities mentionedAll →
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2025-31324 | Unauthenticated File Upload RCE in SAP NetWeaver Visual Composer CVE-2025-31324 is a critical (CVSS 9.8) unrestricted file upload flaw (CWE-434) in the Visual Composer Metadata Uploader component of SAP NetWeaver, which lacks proper authorization. An unauthenticated attacker can send crafted upload requests over the network to the Metadata Uploader endpoint and plant malicious executable binaries, such as webshells, on the host. Executing the uploaded files yields remote code execution with full impact on confidentiality, integrity, and availability, enabling system compromise, lateral movement, and ransomware deployment. Any organization running the affected SAP NetWeaver component is at risk, with the greatest exposure for instances reachable from the internet. Exploitation is confirmed in the wild: the flaw was added to CISA KEV on 2025-04-29, a public PoC exists, and researchers and media report active attacks, including by Chinese-linked actors deploying Golang-based implants on Linux systems and known ransomware use, often chained with CVE-2025-42999. Do: Apply SAP's patch for CVE-2025-31324 (released in the April 2025 security updates) and follow the vendor mitigation instructions per CISA KEV/BOD 22-01 requirements. As interim mitigation, restrict or disable the Visual Composer Metadata Uploader endpoint and ensure it is not reachable from the internet; also patch the related CVE-2025-42999 since the flaws are being chained. Check affected hosts for uploaded webshells, Golang-based implants, and signs of ransomware activity. | 9.8 | 100% | KEV ransomware PoC |
| largetens of thousands of enterprise deployments worldwide, with several thousand instances directly internet-exposed | |
| CVE-2025-42999 | Insecure Deserialization in SAP NetWeaver Visual Composer Metadata Uploader CVE-2025-42999 is an insecure deserialization flaw (CWE-502) in the Visual Composer Metadata Uploader component of SAP NetWeaver. It is triggered when a privileged user uploads untrusted or malicious content to the Metadata Uploader, which the application then deserializes; on its own the flaw requires high-privilege access, but attackers commonly chain it with the separately tracked unauthenticated upload flaw CVE-2025-31324 in the same component. Successful exploitation can yield remote code execution and full compromise of the host's confidentiality, integrity, and availability, with impact beyond the vulnerable component (CVSS scope changed, 9.1 critical). Any organization running SAP NetWeaver with the Visual Composer Metadata Uploader enabled, especially internet-facing application servers, is affected. Exploitation is confirmed in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2025-05-15 with known ransomware use, and reporting links active attacks to ransomware groups (BianLian and RansomExx deploying the PipeMagic trojan) and to Chinese-linked APTs exploiting the sibling CVE-2025-31324. Do: Apply SAP's security patches addressing CVE-2025-42999 together with the companion CVE-2025-31324 in the same Visual Composer Metadata Uploader, per vendor instructions, or restrict/disable access to the Metadata Uploader endpoint if patching is delayed. Given confirmed ransomware use (BianLian, RansomExx) and PipeMagic trojan deployments, review upload and authentication logs on NetWeaver servers and hunt for signs of compromise and post-exploitation activity. U.S. federal agencies must follow CISA BOD 22-01 guidance: apply mitigations by the KEV remediation due date or discontinue use of affected instances. | 9.1 | 14% | KEV ransomware PoC |
| moderatelow thousands of internet-exposed SAP NetWeaver servers (≈1k–10k systems), with a substantially larger internal install base |
Full article763 words · extracted from helpnetsecurity.com · click to collapse
A second wave of attacks against the hundreds of SAP NetWeaver platforms compromised via CVE-2025-31324 is underway.

“[The] attacks [are] staged by follow-on, opportunistic threat actors who are leveraging previously established webshells (from the first zero-day attack) on vulnerable systems,” Onapsis warned last week.
The second wave of attacks
CVE-2025-31324 is a vulnerability in SAP NetWeaver’s Visual Composer tool that allows unauthenticated attackers to:
- Upload malicious files to the host system by sending carefully crafted POST requests to the /developmentserver/metadatauploader URL (endpoint)
- Execute commands with administrative permissions
SAP released an emergency patch for CVE-2025-31324 on April 24, 2025, but several security companies – including ReliaQuest, Rapid7, Onapsis, Mandiant (Google) – have detected intrusions that go back to March 2025, and related reconnaissance activity going back to January 2025.
“Some organizations have reported to Onapsis seeing successful compromises deploying webshells in March 2025, specifically between March 14th and March 31st. Mandiant noted that their first known exploitation via incident response occurred on March 12, 2025,” Onapsis researchers said.
In the first wave of attacks, ending around April 30, the original attackers deployed webshells on compromised SAP NetWeaver instances. In this second wave, other attackers have started leveraging the webshells placed by the original attackers, possibly confirming the initial theory that the webshell-dropping threat actor was an initial access broker.
Researchers from Forescout’s Vedere Labs have also uncovered and mapped malicious infrastructure belonging to one of the opportunistic threat actors involved in the second-stage attacks, and found a variety of tools used by them.
“The use of Chinese cloud providers and several Chinese-language tools points to a threat actor likely based in China, which we dubbed Chaya_004,” they said.
Patch and investigate
Admins have previously been advised to apply the patch provided by SAP or to restrict access to the Metadata Uploader component if patching is not possible or a patch is not available. (SAP NetWeaver Application Server Java 7.40 and earlier versions don’t get updates anymore.)
Removing internet access to their SAP platform is not a complete solution.
“The only thing that will change if the SAP application is not Internet-facing is the frequency of exploitation,” Onapsis researchers pointed out.
“Due to the nature of the vulnerability and how it is exploited, we expect to see automated exploit tools taking advantage of this vulnerability and tools that could easily be executed from within a network. Additionally, this could be leveraged by malicious software such as malware or ransomware.”
Unused web services – including Visual Composer – should be disabled and unused applications removed, especially if patching is impossible.
But it’s also important for organizations to investigate whether their SAP NetWeaver instances have been accessed and compromised by the attackers.
Mandiant and Onapsis have released and are regularly updating an open source scanner organizations can use to identify indicators of compromise associated with active in-the-wild exploitation of CVE-2025-31324 in their environment, but have warned that an “all-clear” result does not mean that an intrusion did not happen: “Sophisticated attackers often clean up evidence of their intrusion while deploying rootkits and leveraging techniques to evade detection.”
Onapsis researchers also discovered that the webshells were likely uploaded (via remote code execution) after other RCE commands were executed during the reconnaissance phase.
“This means that ‘living-off-the-land’ compromise and persistence is possible without webshells,” they noted, so defenders need to adjust incident response playbooks accordingly.
UPDATE (May 15, 2025, 07:35 a.m. ET):
SAP has fixed another vulnerability affecting SAP NetWeaver.
“On May 13, 2025, in response to Onapsis Research Labs’ responsible disclosure of new information from reconstructed attacks earlier in May, SAP rapidly released Security Note 3604119, addressing CVE-2025-42999, with a CVSS of 9.1, thereby fixing the root cause of CVE-2025-31324,” Onapsis CTO JP Perez-Etchegoyen said.
“SAP Security Note 3604119 changes the mechanism to process certain files in SAP Visual Composer, thereby removing a residual risk that remained after patching CVE-2025-31324,” he added, and advised SAP customers to apply that fix, as well.
Ransomware threat actors have also been spotted mounting attacks against Netweaver instances.
“Since our initial disclosure of CVE-2025-31324, recent reports have attributed aspects of the attack chain to China-linked threat actors, adding new dimensions to the investigation,” ReliaQuest’s threat research team shared.
“However, continued analysis has uncovered evidence suggesting involvement from the Russian ransomware group ‘BianLian’ and the operators of the ‘RansomEXX’ ransomware family (tracked by Microsoft as ‘Storm-2460’). These findings reveal widespread interest in exploiting this vulnerability across multiple threat groups.”

Subscribe to our breaking news e-mail alert to never miss out on the latest breaches, vulnerabilities and cybersecurity threats. Subscribe here!

Text extracted automatically; images, tables and formatting may be missing. Original: https://www.helpnetsecurity.com/2025/05/12/compromised-sap-netweaver-instances-attacks-opportunistic-threat-actors/