Book Image

Hands-On Application Penetration Testing with Burp Suite

By : Carlos A. Lozano, Dhruv Shah, Riyaz Ahemed Walikar
Book Image

Hands-On Application Penetration Testing with Burp Suite

By: Carlos A. Lozano, Dhruv Shah, Riyaz Ahemed Walikar

Overview of this book

Burp suite is a set of graphic tools focused towards penetration testing of web applications. Burp suite is widely used for web penetration testing by many security professionals for performing different web-level security tasks. The book starts by setting up the environment to begin an application penetration test. You will be able to configure the client and apply target whitelisting. You will also learn to setup and configure Android and IOS devices to work with Burp Suite. The book will explain how various features of Burp Suite can be used to detect various vulnerabilities as part of an application penetration test. Once detection is completed and the vulnerability is confirmed, you will be able to exploit a detected vulnerability using Burp Suite. The book will also covers advanced concepts like writing extensions and macros for Burp suite. Finally, you will discover various steps that are taken to identify the target, discover weaknesses in the authentication mechanism, and finally break the authentication implementation to gain access to the administrative console of the application. By the end of this book, you will be able to effectively perform end-to-end penetration testing with Burp Suite.
Table of Contents (19 chapters)
Title Page
Copyright and Credits
Contributors
About Packt
Preface
12
Exploiting and Exfiltrating Data from a Large Shipping Corporation
Index

Detecting CSRF


Cross-Site Request Forgery (CSRF) is a vulnerability that allows a malicious user to make actions in an application, using the information stored in other applications. For example, imagine the scenario where you are logged in to different applications using just one network, which is a social network. If you send a request to the other sites, they will apply changes or actions, because they are using the information you have provided to the central application.

So, a malicious user can exploit an application by creating a fake form or fake URL to perform an action in that application. This forces the user to execute the application without his knowledge. For example, look at this HTML code, which has a hidden link into an <img> tag:

<img src="https://www.company.example/action" width="0" height="0"> 

In the beginning, you feel it's nothing different, it is just an inoffensive HTML tag. But when it is parsed, the browser gets the resource pointed by the tag and executes...