6.4med

CVE-2016-31151 exploit

Multiple CRLF injection vulnerabilities in session.c in sshd in OpenSSH before 7.2p2 allow remote authenticated users to bypass intended sh…

Published 10 y ago · modified 4 mo ago · JSON

CVSS
6.4
v3.1 · CNA
CISA KEV
No
not known exploited
EPSS
35.5%
percentile 98%
Public exploits
1
Exploit-DB

Summary

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.

CISA SSVC assessment

Exploitation
Proof of concept public
Automatable
no
Technical impact
partial
Assessed
5 mo ago

Exploit prediction (EPSS)

35.53% probability of exploitation in the next 30 days, higher than 98% of all scored CVEs.

Exploits and detections

  • EDB-39569 OpenSSH 7.2p1 - (Authenticated) xauth Command Injection · remote · 2016-03-16

CVSS scores

Assigned byVersionScoreVector
CISA ADP3.16.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
CNA3.16.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
NVD3.06.4CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
NVD2.05.5AV:N/AC:L/Au:S/C:P/I:P/A:N

Classification

Weakness
  • CWE-93 Improper Neutralization of CRLF Sequences

References

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

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.