CVE-2017-15906 Missing authorization in n/a
Attackers can create zero-length files in read-only mode due to improper permission checks in the OpenSSH SFTP server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-15906?
CVE-2017-15906 is a medium-severity missing authorization vulnerability in Debian Debian Linux, published on 26 Oct 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The process_open function in sftp-server.c in OpenSSH before 7.6 does not properly prevent write operations in readonly mode, which allows attackers to create zero-length files.
Weakness: CWE-732
Which versions are affected by CVE-2017-15906?
It affects 21 products.
Linux distribution packages (40)
openssh Red Hat:enterprise_linux:7::client | All versions | 0:7.4p1-16.el7 |
openssh-askpass Red Hat:enterprise_linux:7::client | All versions | 0:7.4p1-16.el7 |
openssh-cavs Red Hat:enterprise_linux:7::client | All versions | 0:7.4p1-16.el7 |
openssh-clients Red Hat:enterprise_linux:7::client | All versions | 0:7.4p1-16.el7 |
openssh-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:7.4p1-16.el7 |
openssh-keycat Red Hat:enterprise_linux:7::client | All versions | 0:7.4p1-16.el7 |
openssh-ldap Red Hat:enterprise_linux:7::client | All versions | 0:7.4p1-16.el7 |
openssh-server Red Hat:enterprise_linux:7::client | All versions | 0:7.4p1-16.el7 |
openssh-server-sysvinit Red Hat:enterprise_linux:7::client | All versions | 0:7.4p1-16.el7 |
pam_ssh_agent_auth Red Hat:enterprise_linux:7::client | All versions | 0:0.10.3-2.16.el7 |
openssh Red Hat:enterprise_linux:7::computenode | All versions | 0:7.4p1-16.el7 |
openssh-askpass Red Hat:enterprise_linux:7::computenode | All versions | 0:7.4p1-16.el7 |
openssh-cavs Red Hat:enterprise_linux:7::computenode | All versions | 0:7.4p1-16.el7 |
openssh-clients Red Hat:enterprise_linux:7::computenode | All versions | 0:7.4p1-16.el7 |
openssh-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:7.4p1-16.el7 |
openssh-keycat Red Hat:enterprise_linux:7::computenode | All versions | 0:7.4p1-16.el7 |
openssh-ldap Red Hat:enterprise_linux:7::computenode | All versions | 0:7.4p1-16.el7 |
openssh-server Red Hat:enterprise_linux:7::computenode | All versions | 0:7.4p1-16.el7 |
openssh-server-sysvinit Red Hat:enterprise_linux:7::computenode | All versions | 0:7.4p1-16.el7 |
pam_ssh_agent_auth Red Hat:enterprise_linux:7::computenode | All versions | 0:0.10.3-2.16.el7 |
openssh Red Hat:enterprise_linux:7::server | All versions | 0:7.4p1-16.el7 |
openssh-askpass Red Hat:enterprise_linux:7::server | All versions | 0:7.4p1-16.el7 |
openssh-cavs Red Hat:enterprise_linux:7::server | All versions | 0:7.4p1-16.el7 |
openssh-clients Red Hat:enterprise_linux:7::server | All versions | 0:7.4p1-16.el7 |
openssh-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:7.4p1-16.el7 |
openssh-keycat Red Hat:enterprise_linux:7::server | All versions | 0:7.4p1-16.el7 |
openssh-ldap Red Hat:enterprise_linux:7::server | All versions | 0:7.4p1-16.el7 |
openssh-server Red Hat:enterprise_linux:7::server | All versions | 0:7.4p1-16.el7 |
openssh-server-sysvinit Red Hat:enterprise_linux:7::server | All versions | 0:7.4p1-16.el7 |
pam_ssh_agent_auth Red Hat:enterprise_linux:7::server | All versions | 0:0.10.3-2.16.el7 |
openssh Red Hat:enterprise_linux:7::workstation | All versions | 0:7.4p1-16.el7 |
openssh-askpass Red Hat:enterprise_linux:7::workstation | All versions | 0:7.4p1-16.el7 |
openssh-cavs Red Hat:enterprise_linux:7::workstation | All versions | 0:7.4p1-16.el7 |
openssh-clients Red Hat:enterprise_linux:7::workstation | All versions | 0:7.4p1-16.el7 |
openssh-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:7.4p1-16.el7 |
openssh-keycat Red Hat:enterprise_linux:7::workstation | All versions | 0:7.4p1-16.el7 |
openssh-ldap Red Hat:enterprise_linux:7::workstation | All versions | 0:7.4p1-16.el7 |
openssh-server Red Hat:enterprise_linux:7::workstation | All versions | 0:7.4p1-16.el7 |
openssh-server-sysvinit Red Hat:enterprise_linux:7::workstation | All versions | 0:7.4p1-16.el7 |
pam_ssh_agent_auth Red Hat:enterprise_linux:7::workstation | All versions | 0:0.10.3-2.16.el7 |
Products include Debian Debian Linux, Netapp Active Iq Unified Manager, Netapp Cloud Backup, Netapp Clustered Data Ontap, Netapp Cn1610 Firmware, Netapp Data Ontap Edge and 15 more.
How do I fix CVE-2017-15906?
Upgrade to a fixed version.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2017-15906 being exploited?
There is no known exploitation of CVE-2017-15906 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2017-15906, DEBIAN-CVE-2017-15906, GHSA-543w-q592-87ph, MGASA-2017-0483, RHSA-2018:0980, UBUNTU-CVE-2017-15906.