CVE-2025-42884
SAP NetWeaver Improper Neutralization of Special Elements in Data Query Logic Vulnerability
SAP NetWeaver Enterprise Portal lets unauthenticated attackers inject JNDI properties and access unintended providers, risking server information disclosure or modification.
What is it?
This is an improper neutralization of special elements in data query logic vulnerability. It allows anyone on the network, without logging in, to manipulate how the system looks up directory services. This matters because it breaks trust boundaries and lets unauthorized users interact with backend directory providers improperly.
Think of it like this
Imagine a public intercom where visitors can trick the receptionist into looking up names in a private directory instead of the public directory, revealing sensitive internal records.
How the attack works
- An unauthenticated attacker connects over the network to the vulnerable portal.
- The attacker injects malicious JNDI environment properties or passes a custom lookup URL.
- The application performs a JNDI lookup using the attacker's unintended provider.
- The attacker gains unauthorized access to disclose or modify server information.
Real-world example
Imagine an internet-exposed enterprise portal that fails to validate JNDI lookup inputs. An attacker sends specially crafted parameters over the network, forcing the server to query an unintended JNDI data source and exposing sensitive system details.
Who is affected
SAP NetWeaver Enterprise Portal.
Impact
An attacker can read or modify sensitive server information. System availability is not affected.
How to fix it
- Apply vendor-provided mitigations or security updates in accordance with SAP instructions.
- Comply with CISA’s BOD 26-04 guidance and forensics triage requirements.
- Evaluate internet exposure of assets and ensure strict adherence to patching guidelines.
Key terms
- JNDI
- Java Naming and Directory Interface is an API that allows Java applications to discover and look up data and objects.
- Unauthenticated
- Describes an action or attacker that does not require any login credentials to access a system.
Official description (NVD)
SAP NetWeaver Enterprise Portal allows an unauthenticated attacker to inject JNDI environment properties or pass a URL used during JNDI lookup operations, enabling access to an unintended JNDI provider.�This could further lead to disclosure or modification of information about the server. There is no impact on availability.