two possible vulnerabilities in busybox

Zhicheng Chen via busybox <[email protected]>
Newsgroups gmane.linux.busybox
Message-ID <CAKiq1aCMY-0u2x9CZgMyvcrnGyea_=Z3Hn9ozvTxU7ZjsamvUQ@mail.gmail.com>
Dear developers,

I am new to security research and am exploring how LLMs can be leveraged to
detect software vulnerabilities.

The two vulnerabilities described here were initially discovered by an
agent and were subsequently *manually verified by me*, confirming that they
are technically exploitable. However, I am not fully certain whether they
should be considered *real-world vulnerabilities* or merely *toy /
theoretical vulnerabilities* with limited practical impact.

Detailed technical descriptions, including the discovery process and
verification steps, are provided in the accompanying Markdown files.
If these turn out to be false positives, I sincerely apologize for any
inconvenience this may have caused.

*Issue 1 (symlink-based traversal):*

The second issue concerns path traversal during BusyBox tar extraction via
pre-existing symlink components in the destination directory. Although
archive paths are sanitized, file writes can be redirected outside the
extraction root. This behavior is reproducible, but its security relevance
is unclear to me.

*Issue 2 (hard link handling):*

The first issue involves BusyBox tar extraction of hard link entries, where
the hard link target is not sanitized and may reference paths outside the
extraction directory. I have reproduced this behavior locally but am unsure
whether it should be considered a real security vulnerability or intended
behavior.

--
Best wishes,
Zhicheng Chen
Ph.D. student at Texas A&M University

_______________________________________________
busybox mailing list
[email protected]
https://lists.busybox.net/mailman/listinfo/busybox
path traversal.md (application/octet-stream, 1.8 KB) - not displayed
path traversal2.md (application/octet-stream, 2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.