HTTP Request Smuggling ile Web Cache Poisoning | Deception Sald�
The text explains how HTTP request smuggling can be used to turn on-site redirects into open redirects, and to perform web cache poisoning and web cache deception. An attacker could redirect users to malicious sites or cache sensitive user data such as API keys.
Published on sefayildirimmm.medium.com
Bu bölümde, sunucuların site içi yönlendirmelerini açık yönlendirmelere nasıl dönüştürebileceğimizi inceleyeceğiz. Bu dönüşümün ardından, HTTP Request Smuggling kullanarak Web Cache Poisoning ve Deception saldırılarını nasıl gerçekleştirebileceğimizi detaylı bir şekilde öğreneceğiz.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the front-end and back-end servers disagree on request boundaries due to inconsistent handling of Content-Length and Transfer-Encoding headers, enabling request smuggling.
Impact
An attacker could redirect users to a malicious site or steal sensitive information such as API keys from other users by caching their private data.
What the attacker needed
CL.TE request smuggling vulnerability; Cache stores static files; Victim makes a request
How it was found
- Send a POST request with both Content-Length and Transfer-Encoding headers to test for CL.TE smuggling.
- Observe a timeout indicating the back-end waits for more chunks.
- Craft a smuggling request that includes a GET request for a sensitive endpoint.
- Send the smuggling request just before a victim requests a cacheable static file.
- The victim's request gets appended to the smuggled request, causing the sensitive response to be cached under the static file URL.
- Retrieve the cached sensitive data by requesting the static file URL.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
HTTP request smuggling is a technique where an attacker sends a specially crafted request that the front-end and back-end servers interpret differently, allowing the attacker to sneak in a second request. This can be abused to poison a web cache (a storage that serves content to many users) so that other users receive malicious redirects or have their private data cached and later retrieved by the attacker.
What is Smuggling / CRLF?
A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.