Schneider Electric IIoT Monitor SettingMgmt upload Directory Traversal Remote Code Execution Vulnerability
The SettingMgmt servlet's upload method fails to validate a user-supplied path before using it in file operations, allowing an unauthenticated remote attacker to write files and execute arbitrary code as SYSTEM.
rgod of 9sg Security Team - [email protected] Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Schneider Electric IIoT Monitor. 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
The upload method of the SettingMgmt servlet uses a user-supplied path in file operations without validating it, allowing directory traversal.
Impact
An unauthenticated remote attacker could execute arbitrary code with SYSTEM privileges.
What the attacker needed
Network access to the IIoT Monitor; no authentication required
The fix
The vendor issued an update to correct the vulnerability.
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.
A web server component accepts a file upload but does not check where the file is being saved. An attacker can use a path that escapes the intended folder and place a malicious file somewhere it will be run, giving them control of the machine.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.