Skip to content
Access control Write-up Beginner

Lessons in Securing Mobility Site Management APIs

The PHP APIs behind a mobility service portal did not verify authentication tokens and instead filtered device data by a username query parameter. An attacker could remove the username parameter to retrieve all employees' device information.

eaton-works.com

Published on eaton-works.com

Mobile device management systems (MDMs) are a staple in any large enterprise IT toolkit. When your organization has a large number of employees, it’s important to keep a catalog of all devices that have access to the corporate network.

Eaton, on eaton-works.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

Impact

An attacker could access detailed real-time information about all employees' mobile devices, including battery percentage, available memory, and cell network details.

What the attacker needed

Access to the portal's login page; ability to modify client-side JavaScript

The fix

The portal was sunset and replaced with a new system that is not vulnerable to the same attack.

How it was found

  1. Comment out the redirect to the SSO login page.
  2. Remove the username from the API calls, which triggers the API to return all employee devices and information.

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.

The website's backend programming interface (API) trusted a username that was sent in the web address (URL) to decide whose device list to show. Because there was no separate login check, anyone could change or remove that username and see everyone else's device details. This is like a hotel receptionist giving you any room key just because you say a room number, without checking your ID.

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.

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.