Cybersecurity news

Jessica Doner

Back to the list

65 Characters to RCE: Inside the Java4Shell Vulnerability

Security Affairs,

Researchers disclosed a high-severity memory corruption bug in the Base64 decoder of OpenJDK, the world's most common Java runtime.

Vulnerabilities and patches

Overview

Researchers disclosed a severe memory corruptionA class of software bugs where a program accidentally overwrites or misreads its own working memory bug in OpenJDK, the most common Java runtimeThe environment in which a program executes, or the period of time while the program is actively running used by enterprise systems and cloud environments. The flaw exists in the Base64An encoding over A to Z, a to z, 0 to 9, + and /, padded with = decoder, a component that processes data for authenticationVerifying that a user, device, or program really is who it claims to be before allowing access and file uploads. A specific malformed string of 65 characters can trigger the bug, causing the system to write data past the end of its allocated buffer. This error allows attackers to execute code remotely on major platforms like Keycloak, Jira, and Jenkins without needing to log in. The vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend affects a wide range of software, including applications built with Struts and Spring Boot. Even a client-side attack can target a Java program simply by making it connect to a malicious server over TLSThe standard cryptographic protocol that encrypts internet traffic between a browser or app and a server.

Terms in this story

runtime
The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.
Base64
An encoding over A to Z, a to z, 0 to 9, + and /, padded with =. Because this text encoding is easy to reverse without a key, malware authors often use it to disguise command strings inside scripts so casual readers do not spot them. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
authentication
Verifying that a user, device, or program really is who it claims to be before allowing access. When you enter a password, scan a fingerprint, or present a key, authentication checks your identity before a server decides what your account is allowed to do.
Vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
TLS
The standard cryptographic protocol that encrypts internet traffic between a browser or app and a server. Whenever you visit an HTTPS website, TLS checks the server's certificate and scrambles the connection so nobody on the local wireless network or internet backbone can read your traffic. Security+ objective 1.4 lists the term
Patches
A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
memory-corruption
A class of software bugs where a program accidentally overwrites or misreads its own working memory. Buffer overflows and use-after-free bugs are forms of memory corruption that can crash an application or let an attacker redirect the processor to run malicious code. Security+ objective 2.3 lists the term
CVE
The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
CVSS score
The standard rating scale used to score how severe a software security flaw is. Security advisories include a CVSS rating from low to critical based on how easy a bug is to exploit and how much damage it allows. Security+ objective 4.3 lists the term
open-source
Software whose source code is publicly available for anyone to inspect, use, modify, and share. Most websites and apps rely on hundreds of open-source code libraries, so a single security flaw or malicious update in a popular library can affect thousands of companies at once.
Virtual Machine
A software-emulated computer that runs its own operating system inside a shared physical server. Cloud providers run dozens of customer virtual machines on one physical server, and security researchers run malware samples inside a disposable virtual machine that they can reset afterward. Security+ objective 3.1 lists the term
servers
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Security Affairs website. Cite the article, not this page.

Read the full article on Security Affairs (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related