CVE-2016-3115
OpenSSH SSHD CRLF Injection Vulnerability
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.
INFO
Published Date :
March 22, 2016, 10:59 a.m.
Last Modified :
Sept. 11, 2018, 10:29 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.7
Exploitability Score :
3.1
Public PoC/Exploit Available at Github
CVE-2016-3115 has a 12 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2016-3115
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Python
bulk scanning tool for 21 different CVE's for OpenSSH
Python
OpenSSH Vulnerabilities Scanner: Bulk Scanning Tool for 21 different OpenSSH CVEs.
Python
Bulk Scanning Tool for OpenSSH CVE-2024-6387, CVE-2024-6409, CVE-2006-5051, CVE-2008-4109, and 16 other CVEs.
Bulk Scanning Tool for OpenSSH CVE-2024-6387, CVE-2006-5051 , CVE-2008-4109 and others.
openssh security-audit security-tools ssh ssh-server
Python
None
Easily scan for CVEs using nmap.
cve nmap portscanning shell shellscript automation
Shell
A simple way to use ssh-audit, ssh-keyscan and nmap custom scan with Python
ssh enumeration nmap ssh-audit pentest ssh-keyscan
Python HTML
This is a boot2root VM and is a continuation of the Basic Pentesting series. This series is designed to help newcomers to penetration testing develop pentesting skills and have fun exploring part of the offensive side of security. VirtualBox is the recommended platform for this challenge (though it should also work with VMware -- however, I haven’t tested that). This VM is a moderate step up in difficulty from the first entry in this series. If you’ve solved the first entry and have tried a few other beginner-oriented challenges, this VM should be a good next step. Once again, this challenge contains multiple initial exploitation vectors and privilege escalation vulnerabilities. Your goal is to remotely attack the VM, gain root privileges, and read the flag located at /root/flag.txt. Once you’ve finished, try to find other vectors you might have missed! If you’d like to send me a link to your writeup, enjoyed the VM or have questions or feedback, feel free to contact me at: [email protected] If you finished the VM, please also consider posting a writeup! Writeups help you internalize what you worked on and help anyone else who might be struggling or wants to see someone else’s process. There were lots of wonderful writeups for Basic Pentesting: 1, and I look forward to reading the writeups for this challenge.
Scripts used to combine Qualys scans and Trend Micro Deep Security recommendation scan results into reports.
Python
None
Python
None
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2016-3115
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2016-3115
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Sep. 11, 2018
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html [No Types Assigned] -
CVE Modified by [email protected]
Jan. 05, 2018
Action Type Old Value New Value Added Reference http://rhn.redhat.com/errata/RHSA-2016-0465.html [No Types Assigned] -
CVE Modified by [email protected]
Jul. 01, 2017
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/201612-18 [No Types Assigned] -
CVE Modified by [email protected]
Dec. 03, 2016
Action Type Old Value New Value Added Reference http://rhn.redhat.com/errata/RHSA-2016-0466.html [No Types Assigned] Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178838.html [No Types Assigned] Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180491.html [No Types Assigned] Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183122.html [No Types Assigned] Added Reference http://seclists.org/fulldisclosure/2016/Mar/46 [No Types Assigned] Added Reference http://seclists.org/fulldisclosure/2016/Mar/47 [No Types Assigned] Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183101.html [No Types Assigned] Added Reference https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-3115 [No Types Assigned] Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179924.html [No Types Assigned] Added Reference https://www.exploit-db.com/exploits/39569/ [No Types Assigned] Added Reference https://www.freebsd.org/security/advisories/FreeBSD-SA-16:14.openssh.asc [No Types Assigned] Added Reference https://bto.bluecoat.com/security-advisory/sa121 [No Types Assigned] Added Reference http://packetstormsecurity.com/files/136234/OpenSSH-7.2p1-xauth-Command-Injection-Bypass.html [No Types Assigned] Added Reference http://www.securitytracker.com/id/1035249 [No Types Assigned] -
CVE Modified by [email protected]
Dec. 01, 2016
Action Type Old Value New Value Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184264.html [No Types Assigned] -
CVE Modified by [email protected]
Nov. 28, 2016
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/84314 [No Types Assigned] -
CVE Modified by [email protected]
Oct. 04, 2016
Action Type Old Value New Value Added Reference http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html Added Reference http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html -
Modified Analysis by [email protected]
Sep. 12, 2016
Action Type Old Value New Value Changed CPE Configuration Configuration 1 OR *cpe:2.3:a:openbsd:openssh:7.2:p1:*:*:*:*:*:* (and previous) Configuration 1 OR *cpe:2.3:a:openbsd:openssh:7.2:p1:*:*:*:*:*:* (and previous) Configuration 2 OR *cpe:2.3:o:oracle:vm_server:3.2:*:*:*:*:*:*:* Changed Reference Type http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html No Types Assigned http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html Vendor Advisory -
CVE Modified by [email protected]
Sep. 09, 2016
Action Type Old Value New Value Added Reference http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html -
Modified Analysis by [email protected]
Mar. 22, 2016
Action Type Old Value New Value Added Evaluator Description <a href="https://cwe.mitre.org/data/definitions/93.html">CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')</a> Added CPE Configuration Configuration 1 OR *cpe:2.3:a:openbsd:openssh:7.2:p1:*:*:*:*:*:* (and previous) Added CVSS V2 (AV:N/AC:L/Au:S/C:P/I:P/A:N) Added CVSS V3 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N Changed Reference Type http://www.openssh.com/txt/x11fwd.adv No Types Assigned http://www.openssh.com/txt/x11fwd.adv Advisory Added CWE NVD-CWE-Other -
Initial Analysis by [email protected]
Mar. 22, 2016
Action Type Old Value New Value
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2016-3115
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2016-3115
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.69 }} -0.64%
score
0.87933
percentile