Description
CRLF injection vulnerability in Dropbear SSH before 2016.72 allows remote authenticated users to bypass intended shell-command restrictions via crafted X11 forwarding data.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | dropbear | 2016.72-1 | — |
| Debian 13 | dropbear | 2016.72-1 | — |
| Debian 12 | dropbear | 2016.72-1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- DropBearSSHD 2015.71 - Command Injection EDB-40119 · remote · Mar 3, 2016
GitHub 1 repository
-
mxypoo/CVE-2016-3116-DropbearSSH ★ 2 · Feb 22, 2022
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-3115
- https://matt.ucc.asn.au/dropbear/CHANGES
- FEDORA-2016-40a657cee1 vendor-advisory
- http://packetstormsecurity.com/files/136251/Dropbear-SSHD-xauth-Command-Injection-Bypass.html
- FEDORA-2016-332491de28 vendor-advisory
- 20160314 CVE-2016-3116 - Dropbear SSH xauth injection mailing-list
- FEDORA-2016-bc45faa824 vendor-advisory
- openSUSE-SU-2016:0882 vendor-advisory
- GLSA-201607-08 vendor-advisory
- openSUSE-SU-2016:0874 vendor-advisory