Cybersecurity news

Jessica Doner

Back to the list

Cloudflare Workers Spectre Attack Leaks JWT From Co-Located Worker at 12 Bits/Second

The Hacker News,

Researchers leaked a token from a co-located Cloudflare Worker using a remote Spectre attack at 12 bits per second.

Attacks and breaches

Overview

Researchers demonstrated a remote Spectre attack that leaked a JSON Web TokenA compact, digitally signed token format that web apps use to pass verified user identity claims from a co-located Worker on Cloudflare at a rate of 12 bits1 binary digit, a 1 or a 0 (a switch that is on or off) per second. This speed is 360 times faster than an earlier attack shown in 2021. The system runs code from multiple tenantsOne organization's dedicated, isolated slice of accounts and data inside a shared cloud service in separate V8 isolates within the same operating-systemThe core software on a computer or phone that manages hardware, files, memory, and running apps process to reduce startup latencyThe time delay it takes for a packet of data to travel from sender to receiver and back. This design relies on language-level isolation instead of strict process isolation. The researchers found that WebSocketA web protocol that keeps a two-way connection open between a browser or app and a server communications provided a remote timing source, while Durable Objects kept a single Worker isolate alive for five to more than 20 hours. Cloudflare has mitigated the issue by improving Dynamic Process Isolation, integrating the V8 SandboxAn isolated test environment where a program can run without touching the rest of the computer, and deploying Memory Protection KeysThe secret value that locks or opens a message-based in-process isolation.

Terms in this story

JSON Web Token
A compact, digitally signed token format that web apps use to pass verified user identity claims. After you log in, a server may issue a JWT containing your username and role signed with its secret key, and a verification bug in how the server checks that signature lets attackers forge accounts.
Token
A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
Bits
1 binary digit, a 1 or a 0 (a switch that is on or off). Every file, network packet, and cryptographic key in a computer is stored as a long sequence of bits, and key strength is measured by how many bits the key contains. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
tenants
One organization's dedicated, isolated slice of accounts and data inside a shared cloud service. Even though many companies share the same cloud provider's hardware, each company manages its own users, policies, and storage inside its own cloud tenant.
operating-system
The core software on a computer or phone that manages hardware, files, memory, and running apps. Because every application relies on the operating system, a security flaw in the operating system itself affects millions of devices until users install a system update.
latency
The time delay it takes for a packet of data to travel from sender to receiver and back. Security filters and encryption tools must inspect traffic with low latency so they do not noticeably slow down voice calls, financial trades, or web browsing.
WebSocket
A web protocol that keeps a two-way connection open between a browser or app and a server. Chat apps, live dashboards, and AI coding tools use WebSocket connections for instant updates, and a flaw in how the server checks that connection can let a malicious web page send commands.
Sandbox
An isolated test environment where a program can run without touching the rest of the computer. Web browsers run each tab inside a sandbox so a malicious page cannot read your personal files, and analysts detonate suspicious attachments in a sandbox to watch what they do. Security+ objective 4.1 lists the term
Keys
The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
production environment
The live servers and databases that real customers actually use, as opposed to internal test machines. A bug or breach in a company's production environment directly affects live users and real customer records.
exploitation
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
code execution
A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.

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 The Hacker News website. Cite the article, not this page.

Read the full article on The Hacker News (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

Related