Lantronix PremierWave 2050 Web Manager FSBrowsePage directory traversal vulnerability
The Web Manager's file browser prepended a fixed user directory to the supplied path but failed to sanitise traversal sequences in one parameter, so an authenticated low-privileged user could list arbitrary directories on the device. This disclosed file and directory names only, since viewing file contents outside the user directory was rejected.
Originally disclosed on Cisco Talos
A directory traversal vulnerability exists in the Web Manager FSBrowsePage functionality of Lantronix PremierWave 2050 8.9.0.0R4. A specially crafted HTTP request can lead to information disclosure.
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 directory parameter was concatenated onto the fixed user-directory prefix without stripping traversal sequences, unlike other parameters in the same interface that were sanitised.
Impact
An authenticated but unprivileged user could learn the names of files and directories across the device filesystem, but could not read file contents outside the user directory.
What the attacker needed
Authenticated low-privileged account; network access to the web interface
How it was found
- Log in to the Web Manager with an authenticated but unprivileged account.
- Send a request to the file browser action with the directory parameter beginning with a traversal sequence.
- Observe the directory listing returned for a location outside the user directory.
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.
The device has a small web interface that lets a logged-in user browse their own folder of files. The program builds the folder path by sticking a fixed prefix in front of whatever the user types, but it does not clean up 'go up one folder' sequences in one of the inputs. As a result, a logged-in user can peek at the names of folders and files elsewhere on the device, though not read the files themselves.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.