ZTE MF971R HTTP_HOST CRLF Injection vulnerability
The ZTE MF971R router fails to sanitise the HTTP_HOST parameter, allowing CRLF injection into a Location header. An attacker can craft a URL that, when visited by a victim, injects arbitrary headers such as Set-Cookie, enabling session fixation.
Originally disclosed on Cisco Talos
An exploitable CRLF injection vulnerability exists in ZTE MF971R LTE router version wainnerversion:BDPLKPLMF971R1V1.0.0B06. A specially-crafted HTTP request can cause a CRLF injection.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The HTTP_HOST parameter is not sanitised before being used in a Location response header, allowing CRLF sequences to be injected.
Impact
An attacker could set a session cookie to a known value (session fixation) and potentially inject other headers, though the victim must visit a crafted URL.
What the attacker needed
Victim clicks a link; attacker can send a URL to the victim
The fix
The vendor patched the vulnerability.
How it was found
- Craft a URL containing encoded CRLF and a Set-Cookie header in the HTTP_HOST parameter.
- Send the crafted URL to the victim.
- The victim visits the URL, and the router responds with a 302 redirect that includes the injected Set-Cookie header.
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.
This router takes a value from the web address (the HTTP_HOST parameter) and puts it into a response header without cleaning it. Because the value can contain special newline characters, an attacker can sneak in extra headers, like a cookie, when a victim clicks a link. The victim does not need to be logged in for the attack to work.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.