📈 Get daily crypto insights that make you smarter about your money

SAP NetWeaver Zero-Day CVE-2025-31324: Unauthenticated Webshell Upload Threatens Enterprise Infrastructure

A critical zero-day vulnerability in SAP NetWeaver Visual Composer has been actively exploited in the wild since mid-April 2025, prompting emergency patches from SAP and urgent advisories from cybersecurity researchers worldwide. The flaw, tracked as CVE-2025-31324, enables unauthenticated attackers to upload and execute arbitrary files on vulnerable servers, potentially compromising entire enterprise environments.

The Exploit Mechanics

The vulnerability resides in the /developmentserver/metadatauploader endpoint of SAP NetWeaver Visual Composer, a component originally designed for importing metadata files during application development. Researchers at ReliaQuest discovered that this endpoint lacks proper access control and input sanitization, allowing anyone on the internet to upload files without authentication.

The attack chain follows a precise three-step process. First, attackers send crafted HTTP POST requests to the metadata uploader endpoint, embedding JSP-based webshells as file payloads. These uploads bypass all sanitization checks. Second, the uploaded files are written directly to a publicly accessible path at /j2ee/cluster/apps/sapcom/irj/servlet_jsp/irj/root/, which is served by the SAP NetWeaver application server. This means files placed in this directory can be executed remotely via standard GET requests in any browser. Third, the JSP webshells contain Java code that parses command input from HTTP requests, executes them on the underlying operating system using Java’s Runtime.getRuntime().exec(), and returns the output directly in the browser response. This grants the attacker full remote code execution on the SAP server.

What makes this vulnerability particularly dangerous is that systems remain vulnerable even if the latest service packs and updates were applied prior to SAP’s April 24 patch. The component has been deprecated but remains active in many installations.

Affected Systems

SAP NetWeaver systems using Visual Composer are the primary targets. Organizations running SAP enterprise resource planning solutions across finance, manufacturing, logistics, and government sectors are potentially exposed. Given that SAP systems manage critical business processes and often contain highly sensitive financial and operational data, the attack surface extends far beyond the server itself.

Post-exploitation analysis by ReliaQuest revealed sophisticated attacker tradecraft. Threat actors deployed Brute Ratel, a commercial red-teaming toolkit, to establish persistent command-and-control access. Attackers used the webshell to write encoded C# payloads to disk, moved files into trusted directories such as C:\ProgramData\, and compiled and executed payloads via MSBuild.exe, the .NET Framework’s native build tool.

Additionally, researchers observed the use of Heaven’s Gate, an evasion technique that switches execution context from 32-bit to 64-bit mode to evade endpoint detection and response solutions. This was evident through usage of NtSetContextThread and other low-level syscall manipulation APIs.

The Mitigation Strategy

SAP released an out-of-band emergency patch for CVE-2025-31324 on April 24, 2025. Organizations should apply this patch immediately across all SAP NetWeaver installations. Beyond patching, several additional mitigation steps are critical.

First, disable SAP Visual Composer entirely. The component is deprecated and should be removed via filters in SAP NetWeaver configuration. Second, restrict access to the development server by disabling the developmentserver application alias and enforcing firewall rules to block external access to this endpoint. Third, inspect the webshell path j2ee/cluster/apps/sapcom/irj/servlet_jsp/irj/root/ for any unauthorized .jsp files and review server logs for suspicious upload or execution activity dating back to mid-April 2025.

Lessons Learned

This incident underscores a fundamental truth about enterprise security: deprecated components that remain active represent ticking time bombs. SAP Visual Composer was already marked for deprecation, yet it continued running in production environments worldwide, exposing organizations to a vulnerability that required no authentication to exploit.

The attack chain also demonstrates the increasing sophistication of initial access brokers who leverage enterprise software vulnerabilities rather than traditional phishing campaigns. With Bitcoin trading at approximately $94,720 and the broader cryptocurrency market experiencing renewed institutional interest, attackers are highly motivated to compromise enterprise infrastructure that may provide access to financial systems and transaction data.

User Action Required

If your organization runs SAP NetWeaver with Visual Composer enabled, treat this as a critical incident. Apply the April 2025 SAP Security Patch immediately, disable the Visual Composer component, audit server logs for indicators of compromise, and conduct a thorough review of any JSP files in the exposed directory path. Organizations using managed SAP services should contact their providers to confirm patching status.

Disclaimer: This article is for informational purposes only and does not constitute financial or investment advice. Always conduct your own research before making any investment decisions.

🌱 FOR BUSINESSES BitcoinsNews.com
Reach 100K+ Crypto Readers
Sponsored content, press releases, banner ads, and newsletter placements. Put your brand in front of Bitcoin's most engaged audience.

25 thoughts on “SAP NetWeaver Zero-Day CVE-2025-31324: Unauthenticated Webshell Upload Threatens Enterprise Infrastructure”

    1. Ingrid Baumann

      the gap between crypto security and tradfi is visible right here. a single JSP webshell took down enterprise systems while DeFi protocols get audited 5 times before launch

      1. Ingrid Baumann a single JSP webshell taking down fortune 500 systems while DeFi gets 5 audits before launch. the security gap goes both ways

      2. DeFi gets 5 audits but also loses 200M to flash loan attacks quarterly. neither side has bragging rights here

  1. the three step attack chain is textbook. upload JSP webshell, write to accessible path, execute. zero creativity required, just nobody bothered checking the endpoint

  2. unauthenticated file upload on an internet facing endpoint in 2025. SAP charges millions for licensing and ships zero basic access control

    1. cvss_max_ unauthenticated file upload on a path called metadatauploader. the endpoint name literally describes what it does and nobody thought to gate it

  3. metadatauploader endpoint with no auth checks in 2025 on software running half the fortune 500. CVSS 10.0 and SAP needed a public exploit to patch it

  4. jira_neglect_ two years on a board with zero priority. the person who owns that SAP ticket queue should be testifying publicly. this is how enterprise breaches always happen

    1. jira_ghost_ two years on a board with zero priority while paying 7 figures for licensing. SAP enterprise contracts should mandate SLAs on critical CVEs

  5. metadatauploader without auth on an internet facing endpoint. the name literally describes the attack vector and nobody thought to gate it. CVSS 10.0 territory

  6. the /developmentserver/metadatauploader endpoint lacking auth in 2025 enterprise software is embarrassing. SAP charges fortune 500 companies millions for licensing and cant add basic access control

    1. maintain_window

      Inkeri J. /developmentserver/metadatauploader without auth in 2025. SAP charges 7 figure licensing and couldnt add a basic session check. enterprise security is security theater

  7. patch_tuesday

    unauthenticated file upload to a metadata endpoint. in 2025. on enterprise software running half the fortune 500. SAP needs to explain how this passed any security review

  8. SAP has had variations of this vulnerability class since 2019. the metadata uploader was flagged in an internal audit 2 years ago and nobody prioritized the fix

    1. pentest_mike flagged 2 years prior and nobody fixed it. enterprise security incentives are completely broken when the fix doesnt drive revenue

    2. shodan_sweep_

      pentest_mike flagged this exact attack surface two years ago and the ticket sat in JIRA. the problem isnt finding vulnerabilities, its getting anyone to fix them

    3. exploit_reader_

      pentest_mike flagged in an internal audit 2 years prior and still shipped unpatched. this is why nobody trusts enterprise security teams. the incentive structure is completely broken

      1. exploit_reader_ flagged 2 years prior and shipped anyway. every breach comes down to some ticket in JIRA that got deprioritized. nobody gets fired for not patching

      2. jira_neglect_

        exploit_reader_ two years on a JIRA board with zero priority. whoever owns that ticket queue should be answering questions publicly

  9. syscall_pilled_

    patch_tuesday flagged the metadata uploader internally in 2023 and it sat in a backlog until attackers found it in 2025. this is why nobody trusts enterprise security promises

  10. CVSS 10.0 on an unauthenticated endpoint running on half the fortune 500. SAP charges 7 figures for this software lol

  11. the three step attack chain is so basic its embarrassing. upload webshell to unauthenticated endpoint, write to webroot, execute. zero creativity required

Leave a Comment

Your email address will not be published. Required fields are marked *

BTC$64,813.00-0.2%ETH$1,917.23+0.1%SOL$76.37+2.3%BNB$603.03+1.4%XRP$1.04+0.6%ADA$0.1984-0.7%DOGE$0.0702-0.2%DOT$0.8127-0.8%AVAX$6.49-0.4%LINK$8.33+1.0%UNI$3.97-0.7%ATOM$1.38+0.8%LTC$46.05+1.1%ARB$0.0780-1.0%NEAR$1.62+2.0%FIL$0.7125+2.5%SUI$0.6936+1.7%BTC$64,813.00-0.2%ETH$1,917.23+0.1%SOL$76.37+2.3%BNB$603.03+1.4%XRP$1.04+0.6%ADA$0.1984-0.7%DOGE$0.0702-0.2%DOT$0.8127-0.8%AVAX$6.49-0.4%LINK$8.33+1.0%UNI$3.97-0.7%ATOM$1.38+0.8%LTC$46.05+1.1%ARB$0.0780-1.0%NEAR$1.62+2.0%FIL$0.7125+2.5%SUI$0.6936+1.7%
Scroll to Top