r/SentinelOneXDR • • 18d ago

Java4Shell (CVE-2026-114938): what happened, what to do first, and what to watch after exploitation

Calif disclosed Java4Shell (CVE-2026-114938, CVSS 4.0: 9.2 Critical) today. It is a memory-corruption flaw in OpenJDK's Base64 decoder. Malformed Base64 input can trigger remote code execution. It affects OpenJDK 17.0.6 and later running on x86-64 CPUs with AVX-512 VBMI support.

The flaw sits in the Java standard library, so exploit traffic is specific to each application. Any Base64 value an app passes to java.util.Base64.Decoder can carry the payload. That includes HTTP Basic credentials, SAML artifacts, CSRF tokens, and MIME encoded words.

Calif demonstrated pre-auth RCE in default configurations of Apache Kafka Broker, Atlassian Confluence and Jira, JFrog Artifactory, Jenkins, Keycloak, Gerrit, PingFederate, and Spring Boot applications. It also demonstrated post-auth execution against Elasticsearch.

Oracle released patches alongside 11 Java SE fixes in its November Critical Security Patch Update.

Recommended next steps

  1. Inventory every Java runtime. Include containers, bundled installs, and appliances. Start with internet-facing and authentication services.
  2. Find affected endpoints. Singularity Vulnerability Management can search for them.
  3. Bridge if patching must wait. Start x86-64 JVMs with -XX:UseAVX=2 (ARM JVMs fail to start with it).
  4. Apply Oracle's or your vendor's update. Redeploy and restart. Bundled runtimes follow the vendor.
  5. Hunt in logs. Flag Base64 values in WAF, proxy, or app logs matching Calif's pattern.

SentinelOne's defense against Java4Shell

The exploit leaves no file to scan, so SentinelOne detects what an attacker does next.

  • Agent protection (Windows and Linux). Behavioral engines watch JVM-hosted services and web servers for shells running remote or obfuscated one-liners. They also watch for suspicious child processes, credential access, and persistence. Static engines check dropped web shells and second-stage binaries.
  • Linux and Windows. Linux also checks web shell drops, file-transfer tools, user enumeration, credential store access, password changes, and AWS IMDS token use. Windows watches web server processes.
  • Platform Detection Rules. They alert on Agent telemetry. Enable them today with Live Security Updates on.
  • Wayfinder Threat Hunting. 24/7 hunting with human review for post-exploit activity, persistence, and lateral movement.

Patching stays the primary control. Detections work alongside it.

20 Upvotes

6 comments sorted by

2

u/Street-Rabbit-4966 18d ago

Thanks, u/SentinelOne, for sharing this! Curious to know if there are any built-in or custom STAR rules to detect these execution patterns.

3

u/SentinelOne 18d ago

We sent all customers a Customer Intelligence Report yesterday that included the following. Hope this helps!

Platform Detection Rules

For an added layer of visibility on top of Agent telemetry, SentinelOne provides Platform Detection Rules that can alert on post-exploitation activity from Java application servers and general Java-based exploitation. At this time, the following rules may be effective against post-exploitation activity related to this vulnerability. As this CVE continues to develop, SentinelOne will update this list accordingly. These rules are not enabled by default, but are available for testing and enablement today.

2

u/ElenaCurvier3 18d ago

good one love it

1

u/Wadson-S1 SentinelOne Employee | Moderator 18d ago edited 18d ago • Bravo

Should be coming, but today you can add our Java4Shell dashboard that should now be in your dashboard library. /u/SentinelOne should be advising shortly about detections!