Skip to content
Access control Write-up Intermediate

With Management Comes Risk: Finding Flaws in FileWave MDM

FileWave MDM contained an authentication bypass (CVE-2022-34907) and a hard-coded cryptographic key (CVE-2022-34906). An attacker could exploit these to gain superuser access and control all managed devices, exfiltrating data and installing malicious packages.

Claroty's Team82 Follow

Published on claroty.com

Below is a demonstration of Team82’s proof-of-concept exploit in action—described in the last section of this report. Our attack compromises the Filewave MDM, then infects each managed device with a phony ransomware sample:

Noam Moshe, on claroty.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The authentication check compared the Authorization header to a hard-coded shared secret and, in newer versions, also checked if the request's Host header was localhost, which an attacker can set.

Impact

An attacker could gain superuser access to any internet-connected FileWave MDM instance, allowing them to exfiltrate sensitive data from managed devices and install malicious packages, including ransomware.

What the attacker needed

Internet-facing FileWave MDM server; Knowledge of the hard-coded secret; Ability to send crafted HTTP requests

The fix

FileWave addressed the vulnerabilities in version 14.7.2 and users are urged to update.

How it was found

  1. Identify the FileWave MDM web server and its authentication mechanism.
  2. Discover the hard-coded scheduler secret used for authentication.
  3. Send a request with the Authorization header set to the scheduler secret.
  4. In newer versions, also set the Host header to localhost to bypass the additional check.
  5. Gain superuser access and control over managed devices.

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 write-up has not been written yet. The Original tab links to the source.

FileWave MDM is software that organisations use to manage phones, laptops, and other devices. The researchers found a way to trick the MDM server into thinking an attacker was a trusted internal service, so they could log in as the most powerful administrator without a password. This let them see data from all managed devices and even install malicious software on them.

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 Claroty's Team82

View all

2 more disclosed reports, best first.

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.