From Partial IDOR to GPS Tracking — API Flaw Explained
An unauthenticated API endpoint allowed anyone to query device status and precise GPS coordinates by supplying a device identifier. An attacker could enumerate identifiers to track vehicles and individuals in real time or historically.
infosecwriteups.com
Published on infosecwriteups.com
While testing, I used fuzzing techniques to uncover /api/public-tool, which eventually led to this vulnerability. It resembled a Partial IDOR, but the core issue was unauthenticated information disclosure, making it a serious security risk as attackers could track devices in real time.
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 endpoint lacked authentication and authorization checks, and returned sensitive device data for any valid identifier without rate limiting or access control.
Impact
Anyone could enumerate device identifiers and retrieve real-time or historical GPS coordinates, enabling tracking of individuals, fleets, or organisations and compromising privacy.
What the attacker needed
No authentication required; Knowledge of valid device identifiers
The fix
The issue was fixed by adding authentication and authorization, rate limiting, logging and monitoring, and restricting access to GPS coordinates and sensitive device data.
How it was found
- Fuzzed the platform and found the public API endpoint.
- Discovered the endpoint accepted device identifiers such as serial number, IMEI, system ID, or E-com code.
- Intercepted a request to the device-test path with a system ID parameter.
- Modified the system ID parameter and observed responses, noting a placeholder format.
- Used Burp Suite Intruder to enumerate values from 1001001001 to 9999999999.
- Found valid device statuses returned along with GPS coordinates.
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.
An API is a way for programs to talk to each other. This one let anyone ask about a device using its ID number and get back its location, without needing to log in. That means someone could guess ID numbers and track where vehicles or people are.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.