Generate CSRF PoC

You can use this function to generate a proof-of-concept (PoC) cross-site request forgery (CSRF) attack for a given request.

To access this function:

  1. Select a URL or HTTP request from anywhere in Burp.
  2. Right-click and select Engagement tools > Generate CSRF PoC.

Burp shows the full request you selected in the top panel, and the generated CSRF HTML in the lower panel. The HTML uses a form and/or JavaScript to generate the required request in the browser.

You can edit the request manually. Click Regenerate to regenerate the CSRF HTML based on your edited request.

To test the effectiveness of the generated PoC in Burp's browser:

  1. Click Test in browser.
  2. Copy and paste the unique URL into Burp's browser. The browser request is served by Burp with the currently displayed HTML.
  3. To determine whether the PoC is effective, monitor the requests that are made through the Proxy.

Some points should be noted regarding CSRF techniques:

CSRF PoC options

To access the options, click Options: