[vimeopro.com] CRLF Injection
A CRLF injection flaw in the vimeopro.com web server allowed an attacker to inject arbitrary HTTP headers via a crafted URL. By including encoded carriage return and line feed characters in the path, the attacker could set a cookie for the domain.
- Fixed in 2 hours
- Paid in 32 days
- Disclosed after 22 months
PoC (for any browser other than FireFox) http://www.vimeopro.com/crlftest%0dSet-Cookie:test=test;domain=.vimeopro.com
HTTP Response: HTTP/1.1 301 Moved Permanently\r\n Date: Fri, 12 Dec 2014 19:28:49 GMT\r\n Server: Apache\r\n Location: http://vimeopro.com/crlftest\r Set-Cookie:test=test;domain=.vimeopro.com\r\n
Result: Creating a cookie-param "test=test"
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could set a cookie for the domain via the injected header; the report notes this works in browsers other than Firefox.
What the attacker needed
Victim clicks a crafted link; browser other than Firefox
How it was found
- Craft a URL containing encoded CRLF characters followed by a Set-Cookie header.
- Open the URL in any browser other than Firefox.
- Observe the HTTP 301 response containing the injected Set-Cookie header.
- The browser stores the cookie for the domain.
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 report has not been written yet. The Original tab links to the source.
When a web server puts part of a URL into its response headers without cleaning it, an attacker can sneak in extra line breaks. Those line breaks let the attacker add their own headers, such as a cookie, which the browser will then store. This is called CRLF injection because the special characters are carriage return and line feed.
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.