Dev.to Security 🔐 Cybersecurity 👁 0 📖 3 min read

SAP NetWeaver CVE-2025-42884: CISA Confirms Active Exploitation of Unauthenticated JNDI Injection

1. Basic Information Title: SAP NetWeaver JAVA – Unauthenticated JNDI Injection in SAP NetWeaver Enterprise Portal Publisher: Onapsis Research Labs Published: 2026-11-20 Updated: None Source: SAP NetWeaver JAVA

1. Basic Information

2. Summary in One Sentence

This vulnerability allows an unauthenticated attacker to inject properties or URLs into a JNDI lookup in Enterprise Portal 7.50, forcing a connection to an unintended JNDI provider; depending on conditions such as gadget chains, it can lead to deserialization RCE, and CISA has confirmed active exploitation.

3. Attack Flow

JNDI injection

  1. An attacker sends crafted properties or URLs to a JNDI lookup.
  2. NetWeaver connects to an unintended JNDI provider.
  3. Disclosure and modification of server information occur, and if gadget and filter conditions are met, the attack can progress to RCE.

4. Attacker Position and Execution Location

  • An unauthenticated remote attacker who can reach Enterprise Portal.

5. Visibility from Victim and Administrator Perspectives

Victim

  • May appear as anomalies in portal content or server information.

Administrator / SOC

  • Observable as outbound LDAP/RMI traffic, JNDI errors, and Java child processes.

6. Success and Failure Conditions

Success Conditions

  • EP-BASIS/EP-RUNTIME 7.50 without SAP Note 3660969 applied
  • Reachability to the vulnerable JNDI lookup
  • For RCE, an exploitable gadget chain must exist and not be blocked by a deserialization filter.

Failure Conditions / Mitigations

  • SAP Note 3660969
  • Minimizing portal exposure
  • Restricting outbound JNDI/LDAP/RMI traffic

7. Impact Upon Success

  • Disclosure and modification of server information
  • Conditional RCE
  • Potential subsequent access to SAP data

8. Observable Logs

  • Email: No information specific to this case
  • Proxy / SWG / DNS: Connections from the portal server to external LDAP/RMI/JNDI hosts
  • Endpoint / EDR: Shell or child processes spawned from a Java process
  • Identity / IdP: Portal requests without successful authentication
  • SaaS / Cloud: No information specific to this case
  • Network: Outbound JNDI/RMI/LDAP traffic

9. Determining Attack Success

  • Exploit attempts observed (success unconfirmed): Public information: CISA added the vulnerability to KEV based on evidence of active exploitation, but RCE, data access, and success stages in individual cases have not been disclosed. Scope: Undisclosed active exploitation cases confirmed by CISA.

10. Investigation Playbook

  • Trigger: Unpatched system or external JNDI connections
  • Initial Checks: Verify component version, SAP Note status, portal exposure, and outbound policies
  • Authentication / Cloud: Check portal accounts and service credentials
  • Follow-on Activity: Track SAP data access, credential theft, and lateral movement
  • Containment: Apply the SAP Note, restrict portal access, and block outbound LDAP/RMI
  • Classification: Separate and assess contact, initial execution, authentication/privilege acquisition, and data access.

11. Defense and Detection Ideas

  • Single Event: Connections from the portal server to unknown LDAP/RMI hosts
  • Temporal Correlation: Request -> JNDI lookup -> object load -> child process
  • Hunting: Search NetWeaver logs and egress logs for external JNDI connections
  • Log Gaps: JNDI lookup and class loading telemetry
  • Priority Actions: SAP Note 3660969, egress allowlist, and network segmentation

12. Facts / Inference / Hypothesis

Facts

  • An unauthenticated attacker can inject a JNDI environment property or lookup URL to force a connection to an unintended JNDI provider.
  • SAP assessed the impact as disclosure and modification of server information with no availability impact, assigning a CVSS score of 6.5.
  • Onapsis explained that deserialization of the returned object can lead to RCE depending on gadget chain and filter conditions.
  • The issue was fixed in SAP Note 3660969, and CISA added it to KEV on November 20.

Inference

  • If outbound JNDI/RMI/LDAP traffic is permitted on an internet-exposed portal, the risk of code execution increases.

Hypothesis

  • No public information available

13. MITRE ATT&CK Mapping

ID Technique Confidence Basis
T1190 Exploit Public-Facing Application high Unauthenticated Portal JNDI injection
T1105 Ingress Tool Transfer medium Conditional path retrieving objects or classes from an external JNDI provider

14. Unknowns / Further Investigation

  • Threat actors, requests/payloads, number of victims, and cases reaching RCE have not been disclosed.

15. Impact on SOCs and Organizations

Organizations using SAP Enterprise Portal should check SAP Note 3660969 and investigate outbound LDAP/RMI/JNDI connections from the portal as well as Java child processes.

16. Summary by Audience

  • For SOC Teams: Correlate portal requests, external JNDI connections, Java deserialization, and child processes.
  • For Administrators: Apply SAP Note 3660969 and restrict outbound LDAP/RMI traffic.
  • For Users: Remediation by SAP infrastructure administrators is required.
📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.