Lantronix PremierWave 2050 Web Manager FsBrowseClean directory traversal vulnerability
The Web Manager's file deletion feature fails to sanitise the 'path' parameter, allowing an authenticated user with filesystem privileges to delete arbitrary files outside the intended directory. An attacker could delete critical system files, causing denial of service.
Originally disclosed on Cisco Talos
A directory traversal vulnerability exists in the Web Manager FsBrowseClean functionality of Lantronix PremierWave 2050 8.9.0.0R4 (in QEMU). A specially crafted HTTP request can lead to arbitrary file deletion.
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
The application sanitises some but not all user-controlled parameters before building a file path, allowing directory traversal via the 'path' parameter.
Impact
An authenticated attacker with filesystem privileges could delete arbitrary files, leading to denial of service.
What the attacker needed
Authenticated user with filesystem privilege
How it was found
- Authenticate to the Web Manager with a user having the filesystem privilege.
- Send an HTTP POST request to the root path with parameters ajax=FsBrowseClean, dir=/, path containing traversal to the target file, and action=deletefile.
- The target file is deleted.
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 device has a web interface that lets authorised users delete files, but it only checks some of the input for tricks like '../' that mean 'go up a folder'. Because one input field is not checked, a logged-in user can delete any file on the device, even outside the area they are supposed to manage. This can break the device.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.