Cybersecurity news

Jessica Doner

Back to the list

New Cache Key Injection Attack Lets Hackers Bypass Access Controls and Poison Nginx Caches

GBHackers,

Researchers found a cache key injection flaw in Nginx that lets attackers bypass access controls and execute stored cross-site scripting attacks.

Vulnerabilities and patchesNetworks and the web

Overview

Security researchers have identified a new attack method called cache keyThe secret value that locks or opens a message injection that allows hackersA person who explores and manipulates computer systems, either as a criminal intruder or a security researcher to bypass access controlsThe rules and checks that decide which users or programs are allowed to view or change a resource on Nginx web serversA computer or program on a network that stores data and responds to requests from client devices. This technique exploitsA piece of code or technique that uses a software flaw to break into or crash a system a flaw where the server creates cache keys by joining different request values together without clear separators between them. Because these values are not separated, two different requests can accidentally create the same key, causing the server to serve the wrong cached page. This issue affects organizations that use Nginx to speed up their websites by storing copies of pages for quick retrieval. The attack can expose sensitive data, cause the website to crash, or inject malicious code into the pages that users see. Any organization using Nginx with this specific configurationA text file that stores settings, network addresses, and options for how a program or server runs is at risk of having their cached content manipulated by an attacker.

Terms in this story

Key
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)
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.
Access Controls
The rules and checks that decide which users or programs are allowed to view or change a resource. Even after a user logs in, access control determines whether that regular customer account can only view its own profile or accidentally read every other customer's records. Security+ objective 2.5 lists the term
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.
exploits
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.
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.
denial-of-service
An attack that floods or crashes a server or network so real users cannot reach it. An attacker can cause a denial-of-service either by overwhelming a website with junk traffic or by sending a single malformed request that triggers a crash bug. Security+ objective 2.4 lists the term
stored cross-site scripting
A cross-site scripting flaw where malicious script is saved on the server and served to later visitors. In stored cross-site scripting, an attacker posts a booby-trapped comment on a forum or profile page so the script runs automatically in every reader's browser.
cross-site scripting
A web flaw where an attacker sneaks malicious script into a page that other visitors' browsers run. If a forum or comment box shows user text without filtering out script tags, an attacker can use cross-site scripting to steal session cookies from anyone who views the page. Security+ objective 2.3 lists the term
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.

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

Read the full article on GBHackers (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