CVE DatabaseCVE-2025-31324
한국어 권고문 →
CVE-2025-313249.8/CRITICALCISA KEVCWE-434

SAP NetWeaver Visual Composer Metadata Uploader Unauthenticated Remote Code Execution (RCE) Vulnerability (CVE-2025-31324)

⚡ Jump to Patch
Affected Vendors
sap
Affected Components
netweaver_visual_composer
Published Date
2025-04-24
CVSS v3.1
9.8
CRITICAL
EPSS (30d)
99.5%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

SAP systems utilizing the SAP NetWeaver Visual Composer Metadata Uploader component.

Impact

Unauthenticated remote attackers can upload malicious executable binaries (such as web shells), leading to complete compromise of system confidentiality, integrity, and availability.

Mitigation

Immediately apply the official security patch (SAP Note 3594142) and restrict external access to the Metadata Uploader endpoints.

Affected Products & Version Scope

SAP NetWeaver systems running Visual Composer Metadata Uploader (Refer to SAP Note 3594142 for specific component versions)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Deploy the official security patch by applying SAP Note 3594142 via the SAP Support Portal. Use the Software Update Manager (SUM) or Support Package Manager (SPM) to upgrade the affected Visual Composer software components to the patched release.

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, block external access to the vulnerable Metadata Uploader endpoints using a reverse proxy or Web Application Firewall (WAF).

nginx
# Nginx configuration to block unauthorized access to the Metadata Uploader
server {
    listen 443 ssl;
    server_name sap-portal.company.com;

    # Block access to Visual Composer Metadata Uploader
    location ~* /VC/.*MetadataUploader {
        deny all;
        return 403 'Access Denied: Unauthorized access to Metadata Uploader is restricted.';
    }

    location / {
        proxy_pass http://sap_java_backend;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }
}

3. Log Audit & IoC Verification Commands

Execute the following script on the SAP application host to inspect HTTP access logs for potential exploitation attempts targeting the Metadata Uploader.

bash
#!/bin/bash
# Search SAP NetWeaver Java HTTP access logs for Metadata Uploader activity
LOG_PATH='/usr/sap/*/j2ee/cluster/server*/log/system'

echo '[+] Searching for potential CVE-2025-31324 exploitation attempts...'

if [ -d /usr/sap ]; then
    # Scan for POST requests to MetadataUploader returning successful status codes (200/201)
    grep -riE 'MetadataUploader' $LOG_PATH | grep -E 'POST|GET' | grep -E ' 200 | 201 ' > /tmp/detected_exploits.log
    
    if [ -s /tmp/detected_exploits.log ]; then
        echo '[!] ALERT: Potential exploitation attempts detected in logs:'
        cat /tmp/detected_exploits.log
    else
        echo '[+] No suspicious Metadata Uploader activity detected.'
    fi
else
    echo '[-] SAP directory structure not found.'
fi
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
Cloudflare Enterprise & Pro WAF
As this vulnerability is actively exploited in the wild (CISA KEV), prioritize the immediate application of SAP Note 3594142.

Block Exploits Instantly with Managed Virtual Patching Rules

Can't patch production immediately? Deploy managed WAF rules at the edge to intercept RCE, SQLi, and deserialization payloads before they hit your origin server.

3-min setup · Automated Zero-Day Managed Rules
Practice Exploiting & Patching This Web Vulnerability in an Interactive Lab
Launch Hands-On Security Lab

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2025-31324) is a critical-severity unrestricted file upload flaw (CWE-434) in the Metadata Uploader component of SAP NetWeaver Visual Composer, carrying a CVSS score of 9.8. The root cause is the complete absence of proper authorization and authentication checks on the upload endpoint, allowing any unauthenticated network agent to interact with the file upload functionality.

2. Exploitation Mechanics & Attack Scenario

An attacker can exploit this vulnerability by sending a crafted HTTP POST request containing a malicious payload directly to the Metadata Uploader endpoint. Because the application fails to validate the user's identity or restrict the uploaded file types, the attacker can upload executable binaries or web shells into directories accessible by the web server. Once uploaded, the attacker can execute arbitrary commands under the security context of the SAP service account by requesting the uploaded file.

3. Infrastructure & Business Impact

This vulnerability is actively exploited in the wild and is listed on the CISA KEV catalog, with an EPSS score of 0.9949, indicating an extremely high likelihood of exploitation. Successful exploitation allows full remote code execution (RCE) on the host system, potentially leading to unauthorized access to sensitive business data, lateral movement within the corporate network, and deployment of ransomware.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2025-31324)

FAQ

Q1. How critical is CVE-2025-31324 and is it actively exploited in the wild?

CVE-2025-31324 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 99.5%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2025-31324?

Primary impacted vendors include sap across netweaver_visual_composer. Scope summary: SAP NetWeaver systems running Visual Composer Metadata Uploader (Refer to SAP Note 3594142 for specific component versions)

Q3. What temporary mitigations or workarounds exist for CVE-2025-31324 before patching?

[Mitigation] Immediately apply the official security patch (SAP Note 3594142) and restrict external access to the Metadata Uploader endpoints. Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2025-31324

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (sap)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2025-31324 SAP NetWeaver Visual Composer Metadata Uploader Unauthenticated Remote Code Execution (RCE) Vulnerability (CVE-2025-31324) (CVSS 9.8) - Patch & Workaround | CVE Pulse