Permissions, Privileges, and Access Controls in BusyBox - CVE-2013-1813
Published: November 23, 2013 / Updated: September 8, 2020
Vulnerability identifier: #VU46356
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2013-1813
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: busybox.net
Affected software:
BusyBox
BusyBox
Detailed vulnerability description
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
util-linux/mdev.c in BusyBox before 1.21.0 uses 0777 permissions for parent directories when creating nested directories under /dev/, which allows local users to have unknown impact and attack vectors.
How to mitigate CVE-2013-1813
Install update from vendor's website.
Sources
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701965
- http://git.busybox.net/busybox/commit/?id=4609f477c7e043a4f6147dfe6e86b775da2ef784
- http://lists.busybox.net/pipermail/busybox/2013-January/078864.html
- http://packetstormsecurity.com/files/153278/WAGO-852-Industrial-Managed-Switch-Series-Code-Execution-Hardcoded-Credentials.html
- http://rhn.redhat.com/errata/RHSA-2013-1732.html
- http://seclists.org/fulldisclosure/2019/Jun/18
- http://seclists.org/fulldisclosure/2020/Aug/20
- http://seclists.org/fulldisclosure/2020/Mar/15
- https://seclists.org/bugtraq/2019/Jun/14
- https://support.t-mobile.com/docs/DOC-21994