Book Image

Mobile Application Penetration Testing

By : Vijay Kumar Velu
Book Image

Mobile Application Penetration Testing

By: Vijay Kumar Velu

Overview of this book

Mobile security has come a long way over the last few years. It has transitioned from "should it be done?" to "it must be done!"Alongside the growing number of devises and applications, there is also a growth in the volume of Personally identifiable information (PII), Financial Data, and much more. This data needs to be secured. This is why Pen-testing is so important to modern application developers. You need to know how to secure user data, and find vulnerabilities and loopholes in your application that might lead to security breaches. This book gives you the necessary skills to security test your mobile applications as a beginner, developer, or security practitioner. You'll start by discovering the internal components of an Android and an iOS application. Moving ahead, you'll understand the inter-process working of these applications. Then you'll set up a test environment for this application using various tools to identify the loopholes and vulnerabilities in the structure of the applications. Finally, after collecting all information about these security loop holes, we'll start securing our applications from these threats.
Table of Contents (15 chapters)
Mobile Application Penetration Testing
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Client-side injections


Client-side injections are merely local data injections that can lead to unauthorized access to data within the device. This includes SQL injection and UIWebView injections. Let's look at how it can be exploited.

SQL injection

In this section, we will go ahead and exploit the local SQL injection vulnerability in the iGoat app. Open the app, navigate to Categories, click on Injection Flaws, and then click on Start Exercise. You should be able to view the search bar to read articles, as shown in the following screenshot:

If you search for a in the search bar, you will be able to see only the free articles, as shown in the following screenshot:

The same feature can be exploited to view all the articles in the database by injecting the malicious SQL query A ' OR 1=1—, making the statement true, just like the classic web SQL injection. The following screenshot displays all the articles, which involves the premium as well as the local database being disclosed; this is due to...