Unboxing BusyBox – 14 new vulnerabilities uncovered by Claroty and JFrog
Multiple memory-safety flaws were found in BusyBox applets such as awk, hush, unlzma and man, mostly causing denial of service, with some cases potentially leading to information leaks or code execution. An attacker who can supply crafted input to these applets could crash the process or, in rarer cases, leak memory or execute code.
jfrog.com
Published on jfrog.com
Embedded devices with limited memory and storage resources are likely to leverage a tool such as BusyBox, which is marketed as the Swiss Army Knife of embedded Linux. BusyBox is a software suite of many useful Unix utilities, known as applets, that are packaged as a single executable file.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely insufficient validation and memory handling in several BusyBox applets, such as a missing size check in LZMA decompression and use-after-free errors in awk.
What the attacker needed
Attacker can supply crafted input to an affected applet; vulnerable applet is present and used
The fix
The vulnerabilities were fixed in BusyBox 1.34.0, and upgrading to the latest version (currently 1.37.0) is recommended; alternatively, vulnerable applets can be disabled at compile time.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
BusyBox is a small set of common Unix tools bundled into one program, often used on embedded devices. Several of its tools had bugs that could be triggered by specially crafted input, causing the tool to crash or misbehave. In some cases an attacker might be able to read memory or run code, but the report says this is rarer and harder.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.