Back to all lessons
Awareness Lessons
3 weeks ago

CVE-2025-31324: SAP NetWeaver Webshell Implants Exploited at Scale

Written by AI from the linked story. Not reviewed by an editor. How this works

Attackers are actively scanning for and exploiting CVE-2025-31324, an unauthenticated file upload vulnerability in SAP NetWeaver, to deploy persistent webshells on compromised systems. The root issue is a failure to apply available patches in a timely manner, leaving internet-facing enterprise systems exposed to a known, documented vulnerability. The broad scanning behaviour — including typo variations of target URLs — signals that threat actors are conducting opportunistic, automated sweeps to find both unpatched systems and previously planted implants. This matters enormously because SAP NetWeaver is frequently at the core of business-critical operations, meaning a successful compromise can lead to data theft, ransomware deployment, or long-term espionage. Organisations relying on manual or infrequent patching cycles for internet-facing middleware are especially at risk.

Tactical Insight

Immediate actions

  • Apply the available SAP security patch for CVE-2025-31324 immediately on all NetWeaver instances, prioritising internet-facing deployments.
  • Audit the SAP NetWeaver upload directories (e.g., `/uploads/`) for unexpected `.aspx` or other webshell files and remove any found implants.
  • Block or restrict unauthenticated access to file upload endpoints at the WAF or network perimeter until patching is confirmed.

Detection measures

  • Deploy file integrity monitoring on SAP NetWeaver web directories to alert on any newly created or modified executable files.
  • Enable and centralise logging of all HTTP requests to SAP NetWeaver, including 404 errors, to detect scanning activity targeting upload endpoints.
  • Create detection rules for known webshell URL patterns and common misspellings (e.g., `uplod.aspx`, `uplaod.aspx`) in your SIEM.

Long-term improvements

  • Establish an emergency patching SLA (e.g., 48–72 hours) for critical vulnerabilities affecting internet-facing enterprise middleware like SAP.
  • Maintain a continuously updated asset inventory that includes all SAP NetWeaver instances, their exposure level, and patch status.
  • Implement network segmentation to isolate SAP systems from direct internet access, routing all traffic through a hardened reverse proxy or WAF.

Back this up with a control

All controls and vendors

Training helps people spot this. These controls make the attack fail even on the day someone does not.