GithubHelp home page GithubHelp logo

spellchecksquatting's Introduction

Spellcheck Squatting

This is a variation on typo-squatting, mobile platforms often enable spellcheck by default which can result in user entered data being modified unexpectedly if the user is not paying attention sufficiently. An attacker can find a list of names, see what spellcheck or autocorrect suggests instead and then register the spellchecked/autocorrected variant.

This is especially problematic in web sites and applications that allow you to send money to other users and require you to type the username/account in manually. Managing dictionaries on mobile platforms is often difficult or not possible, so adding new names may not be possible.

This also applies to capitalizing the first letter of a password by defualt, e.g. Gmail password first character is case insensitive on mobile device and the HNN thread https://news.ycombinator.com/item?id=28808289

THere is also speculation that modern code development environments that include spellcheck capabilities may introduce this issue as well for e.g. importing modules/libraries.

Examples of this exploit

Solutions:

For web sites

Label text fields as autocorrect="off" and "spellcheck="false" in order to disable this.

For iOS users

  1. Open the Settings app
  2. Tap General
  3. Tap Keyboard
  4. Tap the Auto-Correction toggle switch to turn it on or off

For Android users

  1. Open the Settings app
  2. Tap System > Languages & input > Virtual keyboard
  3. Tap Text correction
  4. Go to the Corrections section and tap Auto-correction to toggle it, set it to off

For application developers:

Objective C

someInput.autoCorrectionType = UITextAutocorrectionTypeNo;

Swift

textField.autocorrectionType = .no

Finding this page

This page can be reached easily via https://spellchecksquatting.com

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.