Tag: SAP Note 3660969

SAP Enterprise Portal JNDI bug CVE-2025-42884 hits CISA KEV a year after the patch

SAP Enterprise Portal JNDI bug CVE-2025-42884 hits CISA KEV a year after the patch

On Friday, November 20, 2026, CISA added a SAP bug to its Known Exploited Vulnerabilities catalog and gave federal agencies until Monday, November 23 to deal with it. Three days. The bug is CVE-2025-42884, an unauthenticated JNDI injection in SAP NetWeaver Enterprise Portal, and SAP shipped the fix on November 11, 2025. So the patch is more than a year old, and somebody is apparently still finding portals that never got it.

On paper this is a “Medium”: CVSS 6.5, low confidentiality and integrity impact, no availability impact. That rating is why I suspect a lot of SAP teams parked it in a later maintenance window and forgot about it. JNDI injection is the same family of primitive that made Log4Shell so ugly, and according to Rescana’s second-hand summary of the Onapsis advisory, Onapsis (whose researchers found the bug) claims it can go further than the score suggests.

Severity: I rate this high. It needs no login, it’s on a component that is often internet-facing, and CISA says it’s being exploited. If your Enterprise Portal 7.50 is missing SAP Note 3660969, patch it this weekend.

At a glance

  • CVE: CVE-2025-42884 (CWE-943, improper neutralization of special elements in data query logic)
  • CVSS 3.1 (SAP as CNA): 6.5, AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Affected: SAP NetWeaver Enterprise Portal, EP-BASIS 7.50 and EP-RUNTIME 7.50 (Java stack)
  • Fix: SAP Security Note 3660969, released on the November 11, 2025 Security Patch Day
  • Exploitation: listed in CISA KEV on November 20, 2026; CISA’s SSVC enrichment marks exploitation “active” and the bug “automatable”. No public campaign, actor or IOCs as of November 22, 2026
  • KEV due date: November 23, 2026 (under BOD 26-04); ransomware use: unknown
  • Who should care: anyone running a NetWeaver Java Enterprise Portal, especially one reachable from the internet or from partner networks

What we know

SAP fixed the issue in Note 3660969, titled “JNDI Injection vulnerability in SAP NetWeaver Enterprise Portal”, on November 11, 2025. SAP’s 2025 patch day bulletin lists it as Medium priority with a 6.5 score, one of 18 new notes that day. Onapsis, whose Research Labs team found the bug, said so in its own November 2025 patch day write-up. SecurityBridge’s summary of the note lists no workaround and describes the fix as proper validation of request parameters so the injection no longer works.

The CVE description is short. An unauthenticated attacker can inject JNDI environment properties, or pass a URL that the portal then uses in a JNDI lookup, and so make the server talk to a JNDI provider it was never meant to use. SAP’s stated result is disclosure or modification of server information.

A year later, on November 20, 2026, CISA put it in the KEV catalog alongside three other bugs (Cisco Expressway, VMware vCenter and Apache Roller). CISA’s alert says the additions are “based on evidence of active exploitation”, but that line covers all four and says nothing specific about the SAP one. The KEV entry lists ransomware use as unknown, and its forensic-triage flag is No. One note on the paperwork: SecurityAffairs’ write-up names BOD 22-01, while CISA’s own alert and catalog entry reference BOD 26-04. I’m going with CISA.

Here’s what is still unknown as of November 22, 2026: who is exploiting it, against whom, since when, and whether attackers are stopping at information disclosure or chaining it into something bigger. SecurityAffairs reported no public details identifying attackers or campaigns, and The Hacker News apparently said the same, though I only saw its article through a search summary. I found no public proof-of-concept. EPSS sat at 0.00714 (about the 55th percentile) on November 21, a good example of how little a probability score helps once a bug is already in KEV.

Timeline: August 2025 Onapsis reports the bug to SAP (per Rescana); November 11, 2025 SAP Note 3660969 released; November 20, 2026 CISA adds CVE-2025-42884 to KEV; November 23, 2026 federal due date.
From patch to KEV took just over a year. The federal deadline after listing was three days.

How it works

JNDI (Java Naming and Directory Interface) is the Java API that lets an application look up objects by name: a data source, an EJB, a configuration entry. Which backend answers the lookup is decided by environment properties, mainly the initial context factory (which provider class to use) and the provider URL (where to find it). Those can point at the local server’s naming service, or at LDAP, RMI, DNS or CORBA endpoints anywhere.

The bug class is simple to describe. If a request parameter can influence either the lookup name or those environment properties, the attacker decides which server the application asks and what it asks for. That’s exactly what the CVE text says about the portal: injected environment properties, or an attacker-supplied URL used during the lookup, leading to “an unintended JNDI provider”.

What happens next depends on what the JVM does with the answer. At minimum the portal makes an outbound connection the attacker chose, and data can leak or be altered through that path, which is what SAP scored. The worse case is the one Log4Shell (CVE-2021-44228) taught everyone: a malicious directory or RMI server can return a reference or a serialized Java object, and if the JVM loads remote classes or deserializes the reply with a usable gadget chain on the classpath, you get code execution.

That second path is a claim, not a confirmed outcome. According to Rescana’s summary of the Onapsis advisory (ONAPSIS-2026-0100, which Rescana dates November 20, 2026), Onapsis says the lookup could be pointed at an attacker-run RMI registry and, if a gadget chain exists and no deserialization filter blocks it, lead to remote code execution. Rescana also reports that Onapsis originally rated the bug CVSS 10 when it reported it to SAP in August 2025. I couldn’t open the Onapsis advisory myself, so treat both points as second-hand. SAP and CISA describe partial impact, and neither says the observed exploitation reached code execution.

Conceptual JNDI injection chain in four steps: unauthenticated request with JNDI properties or URL, portal performs lookup, server contacts attacker-chosen provider, impact ranges from data disclosure (SAP) to possible code execution (Onapsis claim).
Conceptual chain based on the CVE description and Onapsis' analysis as reported by Rescana. The code-execution step is a researcher claim, not confirmed exploitation.

This is not the first time Onapsis has pulled this thread. Its researchers spent 2023 on SAP’s Java stack: an advisory on multiple unauthenticated JNDI injection points in Enterprise Portal (patched in April 2023), another on JNDI injection in the RemoteObjectFactory service on the P4 protocol (reported in February 2023, patched in May 2023), and the “Chained to Hit” talk at Black Hat USA 2023 by Pablo Artuso and Yvan Geuner. P4 is SAP’s proprietary protocol built on Java RMI. The talk abstract describes textbook JNDI reference injection failing against SAP, which pushed them into SAP’s JNDI internals to find another way. My reading: SAP’s stack is not a soft target for generic JNDI payloads, but people who know its internals keep finding ways around that.

Who is affected and how badly

The affected scope is narrow in versions: EP-BASIS 7.50 and EP-RUNTIME 7.50 on NetWeaver AS Java. Narrow doesn’t mean small, though: 7.50 is the release most portal estates I’ve seen run. Check your own systems rather than trusting my impression.

Exposure is the real question. Enterprise Portal exists to be the front door for employees, suppliers and partners, so it’s one of the SAP components most likely to sit behind a reverse proxy on the internet. The vector needs no credentials and no user interaction, and CISA’s enrichment marks it automatable. That’s a combination that suits mass scanning.

The counterweight is that SAP rates the direct impact as partial, and KEV only tells us exploitation happened, not what it achieved. My honest rating: high for any internet-reachable portal still missing the note, medium for portals reachable only from the internal network, assuming you can show that the server can’t make arbitrary outbound connections. If it can, the internal-only discount gets small fast.

What to do now

  1. Check whether SAP Note 3660969 is implemented on every NetWeaver Java system running EP-BASIS 7.50 or EP-RUNTIME 7.50, including dev, QA and DR copies that face partners. The note is behind the SAP support login; take the exact support package and patch levels from it rather than from third-party summaries.
  2. If you can’t patch before Monday, take the portal off the internet or restrict it to known source ranges at the reverse proxy. SecurityBridge lists no workaround, so network restriction is the only stopgap I’d count on.
  3. Lock down egress from portal hosts. A JNDI injection that can’t reach the attacker’s LDAP or RMI server loses most of its teeth. Allow only the destinations the portal actually needs (directories, backends, the SAP router) and deny the rest.
  4. While you’re in the change window, pull in the July 2025 Enterprise Portal notes if they’re missing: 3620498 (CVE-2025-42980) and 3621236 (CVE-2025-42964), both insecure deserialization rated 9.1. A portal that missed November 2025 may well have missed July too.
  5. If an unpatched portal was internet-facing at any point since November 2025, treat it as a compromise-assessment candidate, not just a patch ticket. Use the hunting ideas below.

Detection and monitoring

Nobody has published IOCs, request samples or a detection playbook for this CVE: not SAP, not CISA, and not Onapsis as far as I can tell. So everything below is a hunting heuristic built from how JNDI injection works, not an indicator from an observed campaign. You can catch it at three points: the request (if it carries the JNDI properties or provider URL in the query string), the callback (the portal’s Java server connecting out to an LDAP or RMI server), and, if the code-execution claim is real, a shell started by that Java server. That needs portal access logs with full query strings, host network events with the process name (Sysmon event 3 or EDR), and process creation on the portal host. On most SAP estates I’ve seen, the last two are not collected.

RuleCategoryLog sourceATT&CKLevel
JNDI environment property in portal requestWeb/AppwebserverT1190High
JNDI provider URL scheme in portal requestWeb/AppwebserverT1190Medium
SAP Java server outbound LDAP/RMI to public IP (Linux)Linuxlinux / network_connectionT1190Medium
SAP Java server outbound LDAP/RMI to public IP (Windows)Windowswindows / network_connectionT1190Medium
Shell or download tool spawned by SAP Java server (Linux)Linuxlinux / process_creationT1059.004, T1105High

All five are experimental. The one I’d turn on first is the simplest: alert when any request to the portal carries a java.naming. property name in its URI or query string, plain or URL-encoded. Those are the standard JNDI environment property names (provider URL, initial context factory and friends), and nobody on the outside has a reason to send them to a portal. Its blind spot is POST bodies, which access logs don’t record.

title: Potential CVE-2025-42884 Exploitation - JNDI Environment Property in SAP Portal Request
id: 06184bae-fd4a-4a75-896c-0af780ed4e0b
status: experimental
description: |
    Hunting heuristic for CVE-2025-42884: detects HTTP requests whose URI or query string carries a standard
    JNDI environment property name (java.naming.*), plain or URL-encoded. The CVE describes unauthenticated
    injection of JNDI environment properties into SAP NetWeaver Enterprise Portal. No IOCs or request samples
    are public, so the match strings are inferred from the bug class, not from observed attacks.
references:
    - https://cveawg.mitre.org/api/cve/CVE-2025-42884
    - https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-42884
    - https://support.sap.com/en/my-support/knowledge-base/security-notes-news/bulletin-2025.html
    - https://netsec101.com/?p=429
author: netsec101.com
date: 2026-11-22
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2025-42884
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection_query:
        cs-uri-query|contains:
            - 'java.naming.'
            - 'java%2enaming'
    selection_stem:
        cs-uri-stem|contains:
            - 'java.naming.'
            - 'java%2enaming'
    condition: 1 of selection_*
falsepositives:
    - Vulnerability scanners and authorised penetration tests probing for JNDI injection
    - Administrators testing JNDI or UME settings through the portal from an internal admin workstation (scope the rule to external or reverse-proxy traffic)
level: high

After patching, keep the two network rules running. Egress from SAP Java hosts to unknown LDAP or RMI servers is suspicious for any JNDI bug, not just this one. Run the web rules back over your logs to November 11, 2025 at least, since that’s when the fix (and with it a hint for attackers) became public; if your retention is shorter, say so in your incident notes rather than calling the portal clean. There are no IOCs to age out, which is also why a quiet retro-hunt proves less than you’d like.

I wrote up all five rules, with tuning notes, lab tests and ATT&CK coverage, in a separate detection post. The YAML lives in my Detection Rules repo.

My take

I think this KEV listing is less about a clever new attack and more about a scoring decision catching up with people. A 6.5 is a fair description of what the bug does on its own. It’s a poor description of what a JNDI injection primitive is worth to an attacker who knows the Java stack. We learned that in December 2021, and plenty of SAP patch processes still sort notes by CVSS band and push the Mediums into “next quarter”.

The three-day deadline is the tell. CISA doesn’t hand out Friday-to-Monday windows for bugs it considers cosmetic. I’d treat CVE-2025-42884 as RCE-class for prioritisation until someone shows otherwise, patch it first, and fix egress filtering on SAP Java hosts while I’m at it, because that one control blunts this bug and the next JNDI bug too.

What I’d like from CISA and SAP is one line of context: was the exploitation information disclosure, or something more? Until then, assume the worse answer for any portal that sat unpatched on the internet for the last year.

Sources