Toshiba e-STUDIO2518A unzip Directory Traversal Remote Code Execution Vulnerability
The unzip method in Toshiba e-STUDIO2518A printers fails to validate user-supplied paths before file operations, allowing a network-adjacent attacker to execute arbitrary code as root without authentication.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Toshiba e-STUDIO2518A printers. 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
Root cause
Likely, the unzip method does not validate the paths of files inside an uploaded archive, allowing directory traversal.
Impact
A network-adjacent attacker could execute arbitrary code as root on the printer.
What the attacker needed
Network-adjacent access; no authentication required
The fix
The vulnerability was fixed by the vendor in an update.
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.
This printer has a feature that unpacks zip files. It does not check where the files inside the zip are being written, so an attacker on the same network can make it write files to places it should not, and then run their own code with the highest privileges.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.