| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.1 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical was found in BusyBox up to 1.23.1/1.4.x. Affected is the function arp_main of the component cmdline. Such manipulation of the argument IFNAME leads to memory corruption.
The attack must be carried out locally. There is no available exploit.
Applying a patch is advised to resolve this issue.
Details
A vulnerability, which was classified as critical, has been found in BusyBox up to 1.23.1/1.4.x. Affected by this issue is the function arp_main of the component cmdline. The manipulation of the argument IFNAME with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability.
The weakness was presented 01/01/2017 by 0x721427D8 as SSD Advisory – BusyBox (local) cmdline stack buffer overwrite as confirmed advisory (Blog). The advisory is shared for download at blogs.securiteam.com. The public release was coordinated in cooperation with the vendor. The attack needs to be approached locally. The successful exploitation requires a simple authentication. There are known technical details, but no exploit is available. The following code is the reason for this vulnerability:
if (opts & (ARP_OPT_d | ARP_OPT_s)) {
if (argv[0] == NULL)
bb_error_msg_and_die("need host name");
if (opts & ARP_OPT_s)
return arp_set(argv);
return arp_del(argv);
} The advisory points out:By providing an overly long string for param IFNAME while setting -D (read HW Address from IFACE) and -s (set new entry) a strcpy operation can be reached that allows to write past the stack buffer ifreq.ifr_name[IFANMESIZ] [5,6]
Applying a patch is able to eliminate this problem. The bugfix is ready for download at bugs.busybox.net. The advisory contains the following remark:
strcpy => strncpy(dst,src,n=sizeof(ifreq.ifr_name)-1) or less error prone but more overhead snprintf()
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Affected
- BusyBox 1.3.x
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.1
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: bugs.busybox.net
Timeline
01/01/2017 🔍01/02/2017 🔍
07/25/2019 🔍
Sources
Advisory: SSD Advisory – BusyBox (local) cmdline stack buffer overwrite⛔Researcher: 0x721427D8
Status: Confirmed
Coordinated: 🔍
GCVE (VulDB): GCVE-100-94808
Entry
Created: 01/02/2017 10:18Updated: 07/25/2019 11:40
Changes: 01/02/2017 10:18 (48), 07/25/2019 11:40 (1)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.