1. CVE archive
  2. 2016
  3. CVE-2016-9964

CVE-2016-9964

6.5 Medium severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N 6.5 – Medium

Description

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.

Affected products

VendorProductVersionPlatform
bottlepy bottle 0.12.10 –
debian debian linux 8.0 –

Vulnerability type

CWE-93 Improper Neutralization of CRLF Sequences

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.

Impact on systems

ScopeImpact
Integrity Modify Application Data

How to prevent it

Implementation Avoid using CRLF as a special sequence.
Implementation Appropriately filter or quote CRLF sequences in user-controlled input.

All 272 CWE-93 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org