OWASP Top 10 Mobile security vulnerability

Source: Internet
Author: User

• Weak server-side controls

The first vulnerability in the owasp is "fragile server-side controls," which, as the name implies, do not send data from a mobile application to the server side in a secure way, or expose some sensitive APIs when sending data.
For example, consider authenticating the credentials of an Android application's logon server without validating the input. An attacker could modify the credentials in such a way as to obtain a server-sensitive or unauthorized zone.
This is a vulnerability between mobile apps and Web applications.

• Insecure data storage

Store information about the app that any user can access on the device. Many Android applications store secret user-related information, or application information, in shared Preferences,sqlite (in clear text) or external memory.
Developers should always keep in mind that even if sensitive information is stored in the/data/data/package-name directory, it can be accessed by malicious applications/attackers as long as the phone is rooted.

• Insufficient protection of the transport layer

Many Android developers use unsecured methods for data transfer, such as HTTP, or not SSL properly implemented. This makes the application vulnerable to a variety of different types of attacks on the network, such as packet interception, parameter manipulation, and modification of response data when sending data from the application to the server to gain access to the app's locked area.

• Accidental data breaches

This vulnerability arises when the location of the application's stored data is inherently fragile.
These locations may include clipboard, URL caching, browser COOKIES,HTML5 data storage, analysis data, and so on.
For example, when a user logs in to a bank application, the password is copied to the Clipboard, and a malicious application can access the user's clipboard data to obtain the password.

• Weak authorization and identity authentication

An Android application that is at risk if they attempt to authenticate or authorize the user through client-side detection without proper security measures. It should be noted that most of the client's protection after the root of the mobile phone can be bypassed.
Therefore, it is recommended that the application developer use the appropriate detection method for authentication and authorization on the server side, and then use a randomly generated token on the mobile device to authenticate the user.

• Password cracking

Encrypt data components using insecure cryptographic functions, which may include some known vulnerable algorithms such as MD5, SHA1, RC2, or even a custom-developed algorithm that does not take appropriate security measures.

• Client Injection

SQL injection:

[Content Provider URI] -- projection "* from Sqlite_master WHERE type= ' table ';--"
• Security decisions with untrusted inputs

In mobile applications, developers should clean and verify user input or other relevant input, and untrusted input may lead to other security risks in the application, such as client injection.

Improper processing of session sessions

When dealing with a mobile app session, developers need to focus on a number of factors, such as proper expiration of valid authentication cookies, security token creation, cookie generation and rotation, and invalid session for background failures.
A proper security synchronization must be maintained between the Web app and the Android application.

• Lack of binary File Protection

The

cannot effectively prevent the application from being reversed or decompile. Tools such as Apktool,dex2jar can reverse the Android application, exposing the application to a variety of security risks. To prevent the application from being reversed, developers can use Proguardand and Dasho to reinforce the application.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.