CVE-2021-21879
Description
A directory traversal vulnerability exists in the Web Manager File Upload functionality of Lantronix PremierWave 2050 8.9.0.0R4. A specially-crafted HTTP request can lead to arbitrary file overwrite. An attacker can make an authenticated HTTP request to trigger this vulnerability.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
An authenticated attacker can exploit a path traversal in Lantronix PremierWave 2050 file upload to overwrite arbitrary files, leading to remote code execution.
Vulnerability
A directory traversal vulnerability exists in the Web Manager File Upload functionality of Lantronix PremierWave 2050 firmware version 8.9.0.0R4 [1]. The function handles file uploads via HTTP POST parameters cwd and selectedfile. While the filename in selectedfile is sanitized against path traversal, the cwd parameter is not, allowing an attacker to traverse outside the intended /ltrx_user/ directory by providing values such as /../bin/ [1].
Exploitation
An unprivileged but authenticated attacker can send a crafted HTTP POST request to the /fs endpoint [1]. The request includes two form-data fields: cwd with traversal sequences (e.g., /../bin/) and selectedfile with a chosen filename. The system concatenates the unsanitized cwd with the sanitized filename, writing the uploaded content to an arbitrary location on the filesystem [1].
Impact
Successful exploitation allows arbitrary file overwrite. Since system executables (e.g., /bin/traceroute) can be replaced with malicious content, an attacker can achieve remote code execution as root, as demonstrated by overwriting a script that may be executed by privileged processes [1]. The CVSSv3 score is 9.9, indicating critical severity with high impact on confidentiality, integrity, and availability, and the scope is changed [1].
Mitigation
As of the reference publication date (2021-12-22), no vendor patch or fixed version was announced [1]. Users should restrict network access to the device's web manager to trusted hosts and apply the principle of least privilege for user accounts. No workaround is provided by the vendor [1].
AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- Lantronix/PremierWave 2050description
- Range: = 8.9.0.0R4
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1- talosintelligence.com/vulnerability_reports/TALOS-2021-1323mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.