bottle.py is a fast and simple micro-framework for python web-applications. redirect() in bottle.py in bottle 0.12.10 doesn’t filter a “\r\n” sequence, which leads to a CRLF attack, as demonstrated by a redirect(“233\r\nSet-Cookie: name=salt”) call.
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-9964
- https://github.com/bottlepy/bottle/issues/913
- https://github.com/bottlepy/bottle/commit/6d7e13da0f998820800ecb3fe9ccee4189aefb54
- http://www.debian.org/security/2016/dsa-3743
- http://www.securityfocus.com/bid/94961
- https://github.com/advisories/GHSA-j6f7-hghw-g437