Skip to content
Access control Write-up Beginner

5 Minutes to Take Over the System Administrator Account of a GPS Tracker Solution Provider

The API for editing a user profile accepted a privilege field that let a regular customer set their privilege level to the highest value. This allowed the attacker to become a super administrator and access all customers' GPS tracking data.

mmaulanaabdullah Follow

Published on medium.com

The story begins as I was searching for GPS solutions to track valuable movable items in real-time with long-lasting battery life, without the need for nearby internet-connected mobile devices. Let’s call the company ‘RedactedGPS Corporation,’ which has successfully placed its GPS devices in 150K vehicles and…

M Maulana Abdullah, on medium.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

Likely the API did not check whether the user was allowed to change the privilege field, so it accepted any value supplied by the client.

Impact

The attacker could view and manage all 150,000 GPS devices, access customer personal data, delete data, and potentially control vehicles or dashcams if the devices support it.

What the attacker needed

A regular customer account; ability to intercept HTTP requests

The fix

The API should enforce proper authorisation so that users cannot change their own privilege level.

How it was found

  1. Log in to the system as a regular customer.
  2. Intercept the profile update request with Burp Suite.
  3. Notice that the request includes a privilege field set to 4.
  4. Change the privilege value to 1 and submit the request.
  5. The account is now a super administrator.

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.

When you edit your profile, the app sends your changes to a server. This server also accepted a hidden field that says what level of access you have. By changing that field to the top value, a normal user could make themselves an administrator.

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 mmaulanaabdullah

View all

1 more disclosed report, 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.