Skip to content
Access control Advisory Intermediate CVE-2020-13537CVE-2020-13536

Moxa MXView series installation privilege escalation vulnerability

The Moxa MXView installation grants the standard Users group full write access to Node.js scripts and executables that are later run by a service with SYSTEM privileges. An attacker with local access could modify these files to execute arbitrary commands as SYSTEM.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

Critical 9.3 View original

Multiple exploitable local privilege elevation vulnerabilities exist in the file system permissions of Moxa MXView series 3.1.8 installation. Depending on the vector chosen, an attacker can either add code to a script or replace a binary, both of which get executed by a service, thus executing arbitrary commands with…

Yuri Kramarz, on Cisco Talos

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 installer set weak file permissions, allowing the built-in Users group to modify files that are executed by a service running as NT AUTHORITY\SYSTEM.

Impact

An attacker with local access could execute arbitrary commands with SYSTEM privileges, leading to full compromise of the affected machine.

What the attacker needed

Local access to the Windows machine; MXView 3.1.8 installed

How it was found

  1. Identify that the MXViewService runs Node.js scripts and executables as SYSTEM.
  2. Check that the Users group has full write access to bundle.js or mosquitto.exe.
  3. Append JavaScript code to bundle.js or replace mosquitto.exe with a malicious binary.
  4. Wait for the service to execute the modified file, resulting in command execution as SYSTEM.

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.

On Windows, services can run with high privileges (SYSTEM). If regular users can change files that such a service later runs, they can make the service run their own code and gain those high privileges. Here, the installer gave normal users write access to scripts and programs that a SYSTEM-level service executes.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Yuri Kramarz

View all

57 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.