You can use this function to compare URLs for two site maps. This can help you find access control vulnerabilities, and identify areas to inspect manually. For example:
To access the comparison wizard, right-click the site map and select Compare site maps from the context menu. The wizard enables you to configure:
You need to select the sources of the site maps that you want to compare:
You can use all of the contents of the site map, or you can restrict the comparison to selected or in-scope items.
If you re-request a site map in a different session context, please note:
You need to create session handling rules so that the requests occur in the correct session context. Configure the rules to apply to requests made by the Target tool:
Burp compares the two site maps and matches each request across them, to identify any differences.
Burp matches requests based on the URL file path, HTTP method and the names of parameters in the query string and message body.
For some applications, you may want to customize how Burp performs the matches:
URL query string - In most cases, you need to include this. Requests with different URL parameters are normally used for different application functions. There are two options:
action=CreateUser.
Burp compares the responses to matched requests, to identify any differences. You can customize the response comparison to suit your target application:
Set-Cookie.
Form field values - Include all form field values, or restrict the comparison to specific values. Form field values often reflect differences that can identify access control problems. To analyze these:
The default settings work well in most situations. They are designed to reduce noise, by ignoring various common HTTP headers and form fields that have ephemeral values, and whitespace-only variations in responses.
The results are displayed in a table. You can customize and sort the table contents. For more information, see Customizing Burp's tables.