r/SentinelOneXDR • u/SentinelOne • 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
- Inventory every Java runtime. Include containers, bundled installs, and appliances. Start with internet-facing and authentication services.
- Find affected endpoints. Singularity Vulnerability Management can search for them.
- Bridge if patching must wait. Start x86-64 JVMs with -XX:UseAVX=2 (ARM JVMs fail to start with it).
- Apply Oracle's or your vendor's update. Redeploy and restart. Bundled runtimes follow the vendor.
- 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.
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.