Skip to content
Access control Write-up Intermediate

LocationSmart Leaked Location Data for All Major U.S. Carriers in Real Time

The LocationSmart trial API allowed anyone to obtain real-time cellphone location without the required consent by requesting JSON format instead of XML, which bypassed the subscription check. An attacker could track any US phone number to within a few hundred feet.

robertxiao.ca

Published on robertxiao.ca

On May 16th, I found a vulnerability in the LocationSmart website which allowed anyone, with no prior authentication or consent, to obtain the realtime location of any cellphone in the US to within a few hundred feet. I immediately moved to contact US CERT to coordinate disclosure, and worked with Brian Krebs to…

The author, on robertxiao.ca

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 treated the JSON response format differently and failed to enforce the consent check for that code path.

Impact

An attacker could obtain the real-time location of any cellphone in the US to within a few hundred feet, regardless of phone OS or privacy settings, with no ability to opt out.

What the attacker needed

Target phone number; no authentication needed

The fix

The vulnerability was fixed by the next morning after disclosure.

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.

LocationSmart is a service that can find where a phone is by asking mobile networks. Normally, it asks the phone owner to agree before sharing the location. The bug meant that if you asked for the answer in a different format (JSON instead of XML), the agreement step was skipped, so anyone could find any phone's location.

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.