X / xAI · Report #53843
HTTP Response Splitting (CRLF injection) due to headers overflow
Summary
How it was found
Hi,
I would like to report another HTTP Response Splitting vulnerability caused by header fields "overflow" that allows attackers to inject arbitrary headers in the response. Note that this issue is similar to #52042 but the root cause is different. Also, the below PoC is not the only affected page. Any endpoint involves reflection of parameters in headers is vulnerable.
PoC:
(If HTTP 500 occurs please refresh)
Details:
The culprit is that when the response header fields exceed certain length (roughly >7000 bytes), the response will be discarded and a new one will be served instead. The new generated response will then contain the header injected.