Advantech WISE-PaaS/RMM UpgradeMgmt upload_ota Directory Traversal Remote Code Execution Vulnerability
The UpgradeMgmt class in Advantech WISE-PaaS/RMM fails to validate a user-supplied path taken from the frmUpdateSetting_UploadFileFullName parameter before using it in file operations. A remote attacker who bypasses the existing authentication could use this to run code as SYSTEM.
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Advantech WISE-PasS/RMM. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.
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 upload handler trusts the client-supplied file name/path and writes to it without normalising or restricting it to the intended directory.
Impact
An attacker could execute arbitrary code with SYSTEM privileges, though authentication is required and the text says the existing authentication mechanism can be bypassed.
What the attacker needed
Network access to the product; authentication, bypassable per text
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.
This software has a file upload feature. It takes a file path from the user and uses it without checking where that path really points, so someone can slip in a path that escapes the intended folder. Combined with an upload, that lets an attacker place and run their own program on the server with the highest Windows privileges.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.