This page may be out of date

We haven't updated it for a while because we're busy working on new, improved content to help you get the most out of Burp Suite. In the meantime, please note that the information on this page may no longer be accurate.

Visit our Support Center

Using Burp to Test for Sensitive Data Exposure Issues

Sensitive Data Exposure vulnerabilities can occur when a web application does not adequately protect sensitive information from being disclosed to attackers. This can include information such as credit card data, medical history, session tokens, or other authentication credentials.

It is often said that the most common flaw is failing to encrypt data. One example of this vulnerability is the cleartext submission of a password. This is one of many vulnerabilities detected by Burp Scanner.

In this example we will demonstrate how to use the Scanner to check a login function page. The login page is taken from an old, vulnerable version of "WordPress".

The version of "WordPress" we are using is taken from OWASP's Broken Web Application Project. Find out how to download, install and use this project.

OWASP_AccessControls_1

First, ensure that Burp is correctly configured with your browser.

In the Burp Proxy "Intercept" tab ensure "Intercept is off".

 

OWASP_DataExposure_1

Visit the web application you are testing in your browser.

Access the log in page of the web application.

OWASP_DataExposure_3

Return to Burp.

In the Proxy Intercept tab, ensure "Intercept is on".

OWASP_DataExposure_2

Enter login details in to the login form and submit the request. In this example by clicking "Login".

 

OWASP_DataExposure_4

Return to Burp. The raw request details should now be displayed in the Proxy "Intercept" tab.

Right click on the request to bring up the context menu and click "Do an active scan."

Note: You can also send requests to the Scanner via the context menu in any location where HTTP requests are shown, such as the site map or Proxy history.

OWASP_DataExposure_5

The results of the scan are displayed in the Target "Site map" tab.

In this example the Scanner has detected that the application has an issue; "Cleartext submission of password".

OWASP_DataExposure_6

By clicking on an individual issue you can view a description of the vulnerability and suggested remediation in the "Advisory tab". The full request and response are also shown.

OWASP_DataExposure_7

Burp Scanner checks for a variety of types of data exposure, including SSH keys, credit card numbers and email addresses, etc.