Support Center

Burp Community

See what our users are saying about Burp Suite:

How do I?

New Post View All

Feature Requests

New Post View All

Burp Extensions

New Post View All

Bug Reports

New Post View All
Documentation

Burp Suite Documentation

Take a look at our Documentation section for full details about every Burp Suite tool, function and configuration option.

Full Documentation Contents Burp Projects
Suite Functions Burp Tools
Options Using Burp Suite
Extensibility

Burp Extender

Burp Extender lets you extend the functionality of Burp Suite in numerous ways.

Extensions can be written in Java, Python or Ruby.

API documentation Writing your first Burp Suite extension
Sample extensions View community discussions about Extensibility

Using Burp to Hack Cookies and Manipulate Sessions

 

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

With intercept turned off in the Proxy "Intercept" tab, visit the login page of the application you are testing in your browser.

 

Log in to the application you are testing.

You can log in using the credentials user:user.

 

 

Return to Burp.

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

 

 

Refresh the page in your browser.

The request will be captured by Burp, it can be viewed in the Proxy "Intercept" tab.

Cookies can be viewed in the cookie header.

 

 

We now need to investigate and edit each individual cookie.

Right click anywhere on the request and click "Send to Repeater".

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

 

Go to the Repeater tab.

The cookies in the request can be edited easily in the "Params" tab.

 

By removing cookies from the request we can ascertain the function of each cookie.

In this example, if the "username", "uid" and "PHPSESSID" cookies are removed, the session is ended and the user is logged out of the application.

We can use the Repeater to remove cookies and test the response from the server.

Remove and add cookies using the "Add" and "Remove" buttons and use the "Go" button to forward requests to the server.

 

 

Cookies can be edited in the Request "Params" table.

In this example we have altered the value of the "uid" cookie to 1.

Alter the value then click the "Go" button.

 

 

The response from the server can be viewed in the "Response" panel in Repeater.

The response shows that by altering the "uid" cookie we have logged in to the application as "admin".

We have used cookies to manipulate the session and access another account with elevated privileges.