CVE-2015-6563
The monitor component in sshd in OpenSSH before 7.0 on non-OpenBSD platforms accepts extraneous username data in MONITOR_REQ_PAM_INIT_CTX requests, which allows local users to conduct impersonation attacks by leveraging any SSH login access in conjunction with control of the sshd uid to send a crafted MONITOR_REQ_PWNAM request, related to monitor.c and monitor_wrap.c.
What to do
Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 14.04 | openssh | Fixed | 1:6.6p1-2ubuntu2.2 | UBUNTU-CVE-2015-6563 |
| Debian 14 | openssh | Fixed | 1:6.9p1-1 | DEBIAN-CVE-2015-6563 |
| Debian 13 | openssh | Fixed | 1:6.9p1-1 | DEBIAN-CVE-2015-6563 |
| Debian 12 | openssh | Fixed | 1:6.9p1-1 | DEBIAN-CVE-2015-6563 |
| Red Hat Enterprise Linux 7 | openssh | Fixed | 0:6.6.1p1-22.el7 | RHSA-2015:2088 |
| Red Hat Enterprise Linux 7 | openssh-askpass | Fixed | 0:6.6.1p1-22.el7 | RHSA-2015:2088 |
| Red Hat Enterprise Linux 7 | openssh-clients | Fixed | 0:6.6.1p1-22.el7 | RHSA-2015:2088 |
| Red Hat Enterprise Linux 7 | openssh-keycat | Fixed | 0:6.6.1p1-22.el7 | RHSA-2015:2088 |
| Red Hat Enterprise Linux 7 | openssh-ldap | Fixed | 0:6.6.1p1-22.el7 | RHSA-2015:2088 |
| Red Hat Enterprise Linux 7 | openssh-server | Fixed | 0:6.6.1p1-22.el7 | RHSA-2015:2088 |
| Red Hat Enterprise Linux 7 | openssh-server-sysvinit | Fixed | 0:6.6.1p1-22.el7 | RHSA-2015:2088 |
| Red Hat Enterprise Linux 7 | pam_ssh_agent_auth | Fixed | 0:0.9.3-9.22.el7 | RHSA-2015:2088 |
| Red Hat Enterprise Linux 6 | openssh | Fixed | 0:5.3p1-117.el6 | RHSA-2016:0741 |
| Red Hat Enterprise Linux 6 | openssh-askpass | Fixed | 0:5.3p1-117.el6 | RHSA-2016:0741 |
| Red Hat Enterprise Linux 6 | openssh-clients | Fixed | 0:5.3p1-117.el6 | RHSA-2016:0741 |
| Red Hat Enterprise Linux 6 | openssh-ldap | Fixed | 0:5.3p1-117.el6 | RHSA-2016:0741 |
| Red Hat Enterprise Linux 6 | openssh-server | Fixed | 0:5.3p1-117.el6 | RHSA-2016:0741 |
| Red Hat Enterprise Linux 6 | pam_ssh_agent_auth | Fixed | 0:0.9.3-117.el6 | RHSA-2016:0741 |
| Red Hat Enterprise Linux 5 | openssh | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 4 | openssh | Will not fix Will not fix |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165170.html (vendor-advisory)
- http://lists.apple.com/archives/security-announce/2015/Oct/msg00005.html (vendor-advisory)
- https://security.gentoo.org/glsa/201512-04 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2016-0741.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00017.html (vendor-advisory)
References
- http://www.openwall.com/lists/oss-security/2015/08/22/1
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165170.html
- http://lists.apple.com/archives/security-announce/2015/Oct/msg00005.html
- https://support.apple.com/HT205375
- http://www.securityfocus.com/bid/76317
- https://github.com/openssh/openssh-portable/commit/d4697fe9a28dab7255c60433e4dd23cf7fce8a8b
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- https://security.gentoo.org/glsa/201512-04
- http://www.openssh.com/txt/release-7.0
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- http://rhn.redhat.com/errata/RHSA-2016-0741.html
- http://seclists.org/fulldisclosure/2015/Aug/54
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00017.html
- https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.