Skip to content
Access control Write-up Advanced

Malicious Apps Could Take Over Samsung Devices

A preinstalled Samsung Find My Mobile app contained legacy code that let any installed app redirect the address of one of its management servers, causing the app to update all its supporting server addresses. An attacker could then run a man-in-the-middle server and inject Find My Mobile actions such as wiping the device, reading messages and call logs, locking the phone or tracking the user.

char49.com

Published on char49.com

By Char49 Apps, Research Samsung, Find My Mobile

The author, on char49.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 Find My Mobile app kept legacy code that let any local application change a management server URL, and the app then trusted that URL to rewrite all of its server addresses without verifying the caller or the new addresses.

Impact

An attacker could permanently and silently monitor the user, collect IMEI, account ids and other personal data, lock the phone for ransomware or erase all device data.

What the attacker needed

Malicious app installed on the device; attacker-controlled server; victim does not update the app

The fix

The vulnerabilities were fixed and updates were pushed via the Galaxy Store; users should confirm they run the latest version of the Find My Mobile application.

How it was found

  1. Install a rogue application on the Samsung device.
  2. Use the legacy code to redirect the URL of one of the Find My Mobile management servers.
  3. Let Find My Mobile update the addresses of all its supporting servers to the attacker's ones.
  4. Run an attacker-controlled server and perform a man-in-the-middle attack.
  5. Inject arbitrary actions supported by Find My Mobile into the victim's device.

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.

Find My Mobile is a built-in Samsung app that lets you locate or wipe a lost phone through Samsung's servers. The app trusted a leftover piece of code that let any other app on the phone change which server it talked to. Once pointed at the attacker's server, the app accepted commands from the attacker as if they came from Samsung.

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.