Cookie RequestParamToCookie

This code constructs an HTTP Cookie using an untrusted HTTP parameter. If this cookie is added to an HTTP response, it will allow a HTTP response splitting vulnerability. See http://en.wikipedia.org/wiki/HTTP_response_splitting for more information.

IndexedPublic repositoryHighHigh confidenceVerifiedMITScala
greprules fetch gitlab-sast-scala-cookie-rule-requestparamtocookie --engine opengrep

Description

This code constructs an HTTP Cookie using an untrusted HTTP parameter. If this cookie is added to an HTTP response, it will allow a HTTP response splitting vulnerability. See http://en.wikipedia.org/wiki/HTTP_response_splitting for more information.