Cookie HttpResponseSplitting

When an HTTP request contains unexpected CR and LF characters, the server may respond with an output stream that is interpreted as two different HTTP responses (instead of one). An attacker can control the second response and mount attacks such as cross-site scripting and cache poisoning attacks.

IndexedPublic repositoryMediumHigh confidenceVerifiedMITScala
greprules fetch gitlab-sast-scala-cookie-rule-httpresponsesplitting --engine opengrep

Description

When an HTTP request contains unexpected CR and LF characters, the server may respond with an output stream that is interpreted as two different HTTP responses (instead of one). An attacker can control the second response and mount attacks such as cross-site scripting and cache poisoning attacks.