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.
The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.
Link | Tags |
---|---|
https://github.com/bottlepy/bottle/issues/913 | issue tracking third party advisory patch |
https://github.com/bottlepy/bottle/commit/6d7e13da0f998820800ecb3fe9ccee4189aefb54 | issue tracking third party advisory patch |
http://www.debian.org/security/2016/dsa-3743 | third party advisory vendor advisory |
http://www.securityfocus.com/bid/94961 | vdb entry third party advisory |