CVE-2025-42884: SAP NetWeaver JNDI Injection Vulnerability (Actively Exploited)
CVE-2025-42884 is a medium-severity vulnerability in SAP NetWeaver Enterprise Portal 7.50, allowing unauthenticated attackers to disclose or modify server information via JNDI injection. This vulnerability is listed in CISA’s Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild. Immediate patching is recommended for affected systems.
Overview
CVE-2025-42884 is a medium-severity vulnerability affecting SAP NetWeaver Enterprise Portal 7.50. It enables an unauthenticated attacker to disclose or modify server information by injecting JNDI environment properties or a URL during JNDI lookup operations. This vulnerability is actively exploited, as confirmed by its inclusion in CISA’s KEV catalog, making immediate attention critical for defenders.
Technical Analysis
This vulnerability, classified as CWE-943 (Improper Neutralization of Special Elements in Data Query Logic), resides within the data query logic of SAP NetWeaver Enterprise Portal.
- Affected Component:
SAP NetWeaver Enterprise Portal - Affected Version:
7.50 - Attack Vector: An unauthenticated attacker can exploit this vulnerability remotely over the network (
AV:N,PR:N,UI:N). - Mechanism: The attacker injects malicious JNDI environment properties or a crafted URL during JNDI lookup operations. This allows the attacker to access an unintended JNDI provider.
- Impact: Successful exploitation leads to the disclosure or modification of server information. There is no impact on availability (
C:L,I:L,A:N). - CVSS 3.1 Score: 6.5 (MEDIUM) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
Detection
Defenders should focus on monitoring web server logs for SAP NetWeaver Enterprise Portal instances for suspicious JNDI lookup patterns.
- Web Server Logs: Monitor
cs-uri-stem,cs-uri-query, orc-urifields in web access logs (e.g., Apache, Nginx, IIS) for the presence of JNDI-related protocol prefixes or keywords. - Outbound Connections: Monitor network traffic originating from
SAP NetWeaver Enterprise Portalservers for unusual outbound connections to LDAP, RMI, or other JNDI providers, especially to external or untrusted IP addresses. - Application Logs: Review
SAP NetWeaver Enterprise Portalapplication logs for errors or warnings related to JNDI lookups, unexpected data source access, or unusual authentication attempts.
Sigma Detection Rules
SAP NetWeaver JNDI Injection Attempt in URI or Query
title: SAP NetWeaver JNDI Injection Attempt in URI or Query
id: 90299f1a-b333-471a-a006-25828453472b
status: experimental
description: Detects attempts to exploit CVE-2025-42884 in SAP NetWeaver Enterprise Portal by looking for JNDI lookup patterns in web request URIs or query parameters.
logsource:
category: webserver
detection:
selection:
c-uri|contains:
- 'ldap://'
- 'rmi://'
- 'iiop://'
- 'jndi:'
condition: selection
level: high
Mitigations
Prioritize the following actions to mitigate the risk posed by CVE-2025-42884:
- Apply the latest security patches from SAP immediately. Refer to SAP Security Note
3660969for detailed patching instructions. - Restrict network access to
SAP NetWeaver Enterprise Portalinstances to only trusted internal networks and necessary administrative hosts. - Implement robust input validation and sanitization for all user-supplied data processed by the portal to prevent injection attacks.
- Configure outbound firewall rules on
SAP NetWeaver Enterprise Portalservers to block connections to unauthorized external JNDI providers (e.g., LDAP, RMI, IIOP services).
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-42884
- https://url.sap/sapsecuritypatchday
- https://me.sap.com/notes/3660969
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-42884
- https://ltna.com.au/cyber
Indicators of Compromise
No public IOCs available at time of writing.
MITRE ATT&CK
T1592.002— Software
Generated by
gemini-2.5-flash ·1,955 input / 1,281 output tokens ·
Reviewed and approved by a human analyst before publication