Giter Site home page Giter Site logo

alvincrisuy / steal-phone-number Goto Github PK

View Code? Open in Web Editor NEW

This project forked from frogg/steal-phone-number

0.0 2.0 0.0 3.49 MB

๐Ÿคฏโ˜Ž๏ธ๐Ÿ’จ I have found an exploit that allows every app to steal a users phone number without asking for any permissions.

Home Page: https://twitter.com/frederikRiedel/status/970362794934788097

Ruby 6.32% Swift 93.68%

steal-phone-number's Introduction

Stealing a User's Phone Number

I have found an exploit that allows every app to steal a user's phone number without asking for any permissions.

This hack is made possible because of a security flaw from providers like Telekom, Vodafone, or O2.

This repository demonstrates an implementation of this hack for Deutsche Telekom. Other providers seem to have similar privacy issues, though. Feel free to submit a PR.

Animated gif showing how the attack works.

Disclaimer

This is a research project! Do not use in production!

How to use

Please disconnect from WiFi in order to execute the attack. Right now, this is only implemented with my service provider (Deutsche Telekom, Germany).

How does it work?

Telekom is my phone provider so they know who I am when visiting their websites (@seboslaw explained on Twitter how that works). This is why they automatically "sign me in". My script just grabs the information form there using a invisible web view loading a link like this: https://cap.telekom.de/auth?module=substore&subtempid=11110438&wt_mc=im_co_1842_0001_0001_1510306748 (only works from within Telekom's cellular network).

A screenshot of the Telekom website showing my phone number.

Also, please stop advertising this as a feature.

It's not a feature. It's a bug. Advertisement for auto login on the telekom website.

Use Cases

We can definitely assume that evil apps like Facebook and Uber use this flaw already.

  • The obvious use case is of course to access the user's phone number.
  • With this information evil apps can track users even better. They can track between different apps, after re-installs and even if you switch your device.

What's Next?

  • Telekom should stop signing me in automatically. Users don't expect to be logged in without entering credentials. Only when I enter my UserID & password I am aware that personal information will be shown on the website. This would also prevent attacks like this.
  • Apple should give users more transparency what kind of data apps are transmitting to their backend. Users should be able to block certain network requests or completely disable network requests for a specific app.

steal-phone-number's People

Contributors

frogg avatar paralax avatar

Watchers

Alvin Cris Uy avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.