Skip to content
Write-up Intermediate

Another 1500$: CR/LF Injection

The authentication mechanism of a private bug bounty program allowed CR/LF characters to be injected into the redirect URL parameter. An attacker could use this to manipulate HTTP headers after a user authenticates.

Abhi Sharma Follow

Published on medium.com

Bounty$1,500 View original

{{media:0}}

Abhi Sharma, on medium.com

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 redirect URL parameter was placed into an HTTP header without stripping carriage-return and line-feed characters.

Impact

An attacker could manipulate HTTP headers after authentication, which the author describes as enabling malicious actions, though no concrete outcome is demonstrated.

What the attacker needed

Access to the login/redirect flow

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.

When a web server sends a response, it separates its headers (small labels like 'Location') with special invisible line-break characters. If a site puts user input into a header without removing those line-break characters, an attacker can sneak in extra headers or content of their own. This report says the login redirect parameter accepted those characters.

More by Abhi Sharma

View all

5 more disclosed reports, best first.

Similar reports

Same bug class and techniques, clearest first.