Input validation error in OpenSSH - CVE-2016-3115

 

Input validation error in OpenSSH - CVE-2016-3115

Published: March 22, 2016 / Updated: June 17, 2021


Vulnerability identifier: #VU33811
CSH Severity: Medium
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2016-3115
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote authenticated user to read and manipulate data.

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. <a href="https://cwe.mitre.org/data/definitions/93.html">CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')</a>


Affected software

OpenSSH
Amazon Linux AMI
Fedora
Slackware Linux
openssh (Alpine package)
gsi-openssh
openssh
Dell EMC VxRail Appliance

How to mitigate CVE-2016-3115

Install update from vendor's website.

OpenSSH - update to 7.2p2
openssh (Alpine package) - update to 6.6_p1-r8
Dell EMC VxRail Appliance - update to 4.5.450
gsi-openssh - addressed in versions 5.3p1-13.el6, 6.6.1p1-4.el7, 6.9p1-8.fc22, 7.2p2-1.fc23, 7.2p2-2.fc24
openssh - addressed in versions 6.9p1-11.fc22, 7.2p2-1.fc23, 7.2p2-1.fc24

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins