CRLF injection in Dropbear - CVE-2016-3116
Published: August 5, 2020 / Updated: August 5, 2020
Vulnerability identifier: #VU33987
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-3116
CWE-ID: CWE-93
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a remote user to bypass implemented security restrictions.
The vulnerability exists due to improper input validation when processing CRLF characters. A remote authenticated user bypass intended shell-command restrictions via crafted X11 forwarding data.
Affected software
Dropbear
Gentoo Linux
Fedora
dropbear (Alpine package)
dropbear
Gentoo Linux
Fedora
dropbear (Alpine package)
dropbear
How to mitigate CVE-2016-3116
Install updates from vendor's website.
Dropbear - update to 2016.72
dropbear (Alpine package) - update to 2016.72-r0
dropbear - addressed in versions 2016.72-1.el6, 2016.72-1.el7, 2016.72-1.fc22, 2016.72-1.fc23, 2016.72-1.fc24, 2016.74-1.el6, 2016.74-1.el7, 2016.74-1.fc23
dropbear (Alpine package) - update to 2016.72-r0
dropbear - addressed in versions 2016.72-1.el6, 2016.72-1.el7, 2016.72-1.fc22, 2016.72-1.fc23, 2016.72-1.fc24, 2016.74-1.el6, 2016.74-1.el7, 2016.74-1.fc23
Links to Public Exploits and PoC-codes
External References
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179261.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179269.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179870.html
- http://lists.opensuse.org/opensuse-updates/2016-03/msg00105.html
- http://lists.opensuse.org/opensuse-updates/2016-03/msg00113.html
- http://packetstormsecurity.com/files/136251/Dropbear-SSHD-xauth-Command-Injection-Bypass.html
- http://seclists.org/fulldisclosure/2016/Mar/47
- https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-3115
- https://matt.ucc.asn.au/dropbear/CHANGES
- https://security.gentoo.org/glsa/201607-08
Related Security Bulletins
- Remote command execution in Dropbear SSH
- CRLF injection in dropbear (Alpine package)
- Gentoo update for Dropbear
- Fedora EPEL 7 update for dropbear
- Fedora 23 update for dropbear
- Fedora 24 update for dropbear
- Fedora 22 update for dropbear
- Fedora EPEL 6 update for dropbear
- Fedora 23 update for dropbear
- Fedora EPEL 6 update for dropbear
- Fedora EPEL 7 update for dropbear