CVE-2016-3115

Public Exploit

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.

6.4
CVSS
Severity: Medium
CVSS 3.0 •
CVSS 2.0 •
EPSS 45.90% Top 5%
Vendor Advisory freebsd.org Vendor Advisory redhat.com Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org Vendor Advisory gentoo.org Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org Vendor Advisory redhat.com Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org Vendor Advisory openssh.com Vendor Advisory oracle.com
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://www.openssh.com/txt/x11fwd.adv vendor advisory
http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html vendor advisory
https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-3115
http://packetstormsecurity.com/files/136234/OpenSSH-7.2p1-xauth-Command-Injection-Bypass.html
https://www.freebsd.org/security/advisories/FreeBSD-SA-16:14.openssh.asc vendor advisory
http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
https://www.exploit-db.com/exploits/39569/ exploit
http://rhn.redhat.com/errata/RHSA-2016-0466.html vendor advisory
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c
http://www.securitytracker.com/id/1035249 vdb entry
http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183101.html vendor advisory
http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c.diff?r1=1.281&r2=1.282&f=h
http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180491.html vendor advisory
https://bto.bluecoat.com/security-advisory/sa121
https://security.gentoo.org/glsa/201612-18 vendor advisory
http://www.securityfocus.com/bid/84314 vdb entry
http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179924.html vendor advisory
https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html mailing list
http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184264.html vendor advisory
http://seclists.org/fulldisclosure/2016/Mar/47 mailing list
http://rhn.redhat.com/errata/RHSA-2016-0465.html vendor advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183122.html vendor advisory
http://seclists.org/fulldisclosure/2016/Mar/46 mailing list
http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178838.html vendor advisory

Frequently Asked Questions

What is the severity of CVE-2016-3115?
CVE-2016-3115 has been scored as a medium severity vulnerability.
How to fix CVE-2016-3115?
To fix CVE-2016-3115, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2016-3115 being actively exploited in the wild?
It is possible that CVE-2016-3115 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~46% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.