Skip to content
Mobile Disclosed report Intermediate

Runtime manipulation iOS app breaking the PIN

The iOS app's PIN screen could be bypassed by invoking an internal method directly using a runtime manipulation tool. An attacker with physical access to an unlocked device could bypass the PIN and access the app's authenticated features.

kaleemgiet Follow

Originally disclosed on HackerOne

  • Disclosed after 15 months

I was able to bypass your pin protection by doing runtime manipulation in iOS app

1.Installed the snoop it in device 2.By going snoop it tool settings choose the coinbase app 3.I already set the the pin in coinbase app 4.Open the coinbase app it is asking for PIN 5.Now browsing the snoopit controlled window from the browser 6.Go to the Objective C-Classes in snoop it window 7.By directly invoking the userAutheticated method from the coinbase.CBPINViewController I was able to break the PIN protection 8. userAuthenticated method is not taking any arguments just invoking this method bypassed the scree

Please see the POC video https://www.dropbox.com/s/acvr4g7lv63tti5/runtime%20manipulation%20coinbase.mov?dl=0

You can prevent run time manipulation by do not attaching a debugger to app process you see here how to prevent

http://resources.infosecinstitute.com/ios-application-security-part-23-defending-runtime-analysis-manipulation/

The original report as published on HackerOne, by kaleemgiet. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the app relied on a client-side method to mark the user as authenticated without server-side verification or tamper detection.

Impact

An attacker with physical access to an unlocked device could bypass the PIN and access the app's authenticated features.

What the attacker needed

Physical access to an unlocked device; runtime manipulation tool installed; PIN already set in the app

The fix

The reporter suggests preventing runtime manipulation by not attaching a debugger to the app process.

How it was found

  1. Install the runtime manipulation tool on the device.
  2. In the tool's settings, select the target app.
  3. Ensure a PIN is already set in the app.
  4. Open the app and observe the PIN prompt.
  5. In the tool's window, browse the Objective-C classes.
  6. Invoke the userAuthenticated method of the PIN view controller to bypass the PIN screen.

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 report has not been written yet. The Original tab links to the source.

The app used a PIN screen to protect access, but the check was done only in the app's code. A tool that can run code inside the app allowed the attacker to call the 'success' function directly, skipping the PIN. This means anyone who can run such a tool on the device can get past the PIN.

What is Mobile?

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.

More by kaleemgiet

View all

2 more disclosed reports, best first.

More from Coinbase

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Mobile app vulnerabilities

The lesson behind this report.

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.