SAPinsider

articles

Onapsis Reports Active Exploitation of SAP Enterprise Portal Flaw After 2025 Patch

Onapsis Reports Active Exploitation of SAP Enterprise Portal Flaw After 2025 Patch

Onapsis, an SAP security vendor, reports that attackers are exploiting CVE-2025-42884, a vulnerability in SAP Enterprise Portal for which SAP released a patch in November 2025. The Cybersecurity and Infrastructure Security Agency (CISA) added the flaw to its Known Exploited Vulnerabilities catalog on November 20, 2026.

Mariano Nunez, CEO of Onapsis, wrote in a LinkedIn post that threat actors are exploiting it "to take full control of vulnerable SAP systems" and that several additional sources corroborate the activity.

The flaw sits in a web service of SAP NetWeaver Application Server Java (AS Java), the Java runtime behind the portal, and needs no login to exploit. Onapsis Research Labs reported it to SAP in August 2025 and scored the full attack path 10.0 on the Common Vulnerability Scoring System (CVSS). The path ends in remote code execution, which lets an outsider run commands on the server.

How the Flaw Reaches Remote Code Execution

The affected service handles administrative functions for the portal's content directory, and Java code looks up entries there using the Java Naming and Directory Interface (JNDI). The service copies caller-supplied settings into its naming context without restriction or authentication, Onapsis reports, so one request can make the portal server connect outbound to a system the attacker runs.

The attacker's system replies with a crafted Java object. The portal server unpacks it before checking its type, and a chain of classes from SAP's own libraries, which ship with AS Java, turns the unpacking into running code. Onapsis built its demonstration on a reconstruction of a chain seen in attacks on CVE-2025-31324, a Visual Composer vulnerability widely exploited in 2025.

SAP's CVSS score was 6.5, against Onapsis's 10.0. Onapsis ties the gap to the libraries a system contains and the filtering it applies to incoming Java objects.

Exploitation Attempts Began About a Year After the Patch

Onapsis's threat intelligence network recorded the first attempts against the portal service in early November. Most requests failed because their structure did not match what the service expects, a pattern Onapsis reads as attackers building an exploit by trial and error. Only one well-formed request reached the vulnerable code, and it used character encoding to disguise the settings it overrode.

SAP promptly released its patches over a year ago, Nunez notes, so many systems may already be patched, and exploitation "requires outbound connectivity to an attacker-controlled system." The vulnerable component, however, runs by default in SAP Enterprise Portal applications, systems typically exposed to the internet, which he calls "the bad news." He also separates the flaw from the recently reported incident in SAP's GitHub development environments.

Onapsis Recommends Patching, Blocking, and Log Review

Nunez tells operators of SAP Enterprise Portal applications to "take these steps immediately," starting with confirming that SAP Security Notes 3660969 and 3660659 are in place across affected systems. Note 3660969 stops callers from controlling the naming settings. Note 3660659 adds a filter on the Java objects the server will accept, blocking known attack classes, though a blocklist covers only components already identified.

Where patching is not possible, he recommends blocking access to the service path at the SAP Web Dispatcher or a reverse proxy, or deploying monitoring.

Log review should look for requests to the service that carry encoded naming overrides and for unexpected outbound connections from portal servers. Onapsis cautions that applying the patches does not clear out webshells, implants, or stolen credentials an intruder may already hold, so unpatched systems reachable in early November warrant a compromise assessment.

What This Means for SAPinsiders

  • Medium ratings can understate real exposure. SAP scored the flaw medium, while Onapsis reports attackers using it for full remote code execution on vulnerable systems. Severity scores rest on assumptions about each system, so a rating is a starting point for judging risk.

  • Unapplied patches keep old flaws in play. Attackers turned to the portal service long after SAP released its patch, which puts the weight on how completely customers applied it. Patch status across a landscape decides exposure to this flaw.

  • Internet-facing portals draw attacker attention. Employees, partners, and suppliers often enter through the Enterprise Portal, and the chain Onapsis used was seen earlier against another SAP vulnerability. Attack tooling built for one weakness in SAP's Java runtime can carry over to the next.

Vendors mentioned