(0Day) BusyBox ftpd Directory Traversal Arbitrary File Read and Write Vulnerability
The BusyBox ftpd service fails to validate user-supplied paths before using them in file operations. A remote unauthenticated attacker could create or delete arbitrary files or disclose sensitive information in the context of the service account.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to create or delete arbitrary files or disclose sensitive information on affected installations of BusyBox. Authentication is not required to exploit this vulnerability.
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 report has not been written yet. The Original tab links to the source.
How it worked
Impact
A remote unauthenticated attacker could create or delete arbitrary files or disclose sensitive information in the context of the service account; the only mitigation is to restrict interaction with the product.
What the attacker needed
Network access to TCP port 21; no authentication required
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 report has not been written yet. The Original tab links to the source.
BusyBox is a small set of tools used on many embedded devices. Its FTP server (ftpd) does not properly validate the file paths users give before using them in file operations. So an attacker can read, create or delete files without logging in.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.