CVE Vulnerabilities

CVE-2016-9964

Improper Neutralization of CRLF Sequences ('CRLF Injection')

Published: Dec 16, 2016 | Modified: Jan 11, 2017
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

redirect() in bottle.py in bottle 0.12.10 doesnt filter a rn sequence, which leads to a CRLF attack, as demonstrated by a redirect(233rnSet-Cookie: name=salt) call.

Weakness

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.

Affected Software

Name Vendor Start Version End Version
Bottle Bottlepy 0.12.10 (including) 0.12.10 (including)
Python-bottle Ubuntu precise *
Python-bottle Ubuntu trusty *
Python-bottle Ubuntu trusty/esm *
Python-bottle Ubuntu upstream *
Python-bottle Ubuntu xenial *
Python-bottle Ubuntu yakkety *

Potential Mitigations

References