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

CVE-2016-3115

6.4 Medium severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N 6.4 – Medium

Description

Multiple CRLF injection vulnerabilities in session.c in sshd in OpenSSH before 7.2p2 allow remote authenticated users to bypass intended shell-command restrictions via crafted X11 forwarding data, related to the (1) do_authenticated1 and (2) session_x11_req functions.

Affected products

VendorProductVersionPlatform
openbsd openssh <= 7.2 p1 –
oracle vm server 3.2 –
All 151 Openbsd Openssh vulnerabilities

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