Cybersecurity news

Jessica Doner

Back to the list

Hackers Can Manipulate Web Cache Keys to Access Restricted Data and Poison Websites

Cyber Security News,

Researchers found that attackers can access restricted data or poison websites by abusing values already included in web cache keys.

Networks and the web

Overview

Researchers found a method to trick web serversA computer or program on a network that stores data and responds to requests from client devices into serving the wrong data by manipulating how they build cache keysThe secret value that locks or opens a message. Web caches store responses to speed up loading, but they rely on a unique key to identify which response to send. In Nginx, these keys are often created by joining parts of a request together without clear separators. This lack of separation allows two different requests to create the same key, causing the server to treat them as identical. An attacker can exploitA piece of code or technique that uses a software flaw to break into or crash a system this to access restricted pages like an admin dashboard or poison the cache with malicious content. This issue affects any organization using Nginx with a similar configurationA text file that stores settings, network addresses, and options for how a program or server runs, allowing attackers to bypass access controls without needing a victim to click a link.

Terms in this story

server
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.
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)
exploit
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
configuration
A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
Hackers
A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
cache poisoning
Tricking a DNS resolver or web cache into storing a fake response and serving it to other visitors. When an attacker succeeds at cache poisoning on a shared DNS server or CDN, thousands of users who ask for a real website get handed the attacker's malicious page instead.
HTTP request
A message a browser or app sends to a web server to fetch or submit data. Every link click, form submission, and API call travels as an HTTP request, and web attacks work by packing malicious headers or parameters inside that request.
protocol
An agreed set of rules and message formats that computers follow to exchange data over a network. Every internet service relies on a network protocol such as HTTP for web pages or DNS for domain lookups, and a logic flaw in a protocol's design affects every vendor that implements it.
hostname
The human-readable label assigned to a computer or server on a local network or the internet. During an intrusion investigation, logs often identify which employee laptop or internal server was accessed by its hostname alongside its IP address.
cookies
A small piece of text that a website asks your browser to store and return on later visits. Online stores and portals use a cookie to remember who is logged in or what is in a shopping cart, which is why infostealer malware targets the browser database where cookies are stored.
proxy
An intermediate server that forwards network requests between a client and a destination server. Companies use a proxy to filter employee web traffic, while attackers route their traffic through chains of proxy servers to hide their real IP address.
collision
2 different inputs that give the same hash. When researchers find a practical way to create a collision in an older hash algorithm, attackers can craft a malicious file that shares the exact same hash as a trusted file. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2)

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

Read the full article on Cyber Security 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

Same story at other outlets

Related