Home

Awesome

Burp Issue Poster

This Burp Extension is intended to post to a service the details of an issue found either by active or passive scanning. The post request is written as a template and substitutes the contents of the issue into a post body which is pre-formatted per the requirements of the reporting application's own API.

In other words: you format the post you wish to send to the service, and this extension fills in the details based on the attributes you wish to include. You can then post any discovered issues to your reporting application of choice rather than fiddle with reports from Burp Suite directly.

This is an alpha-quality extension targeted at technically minded users. Aside from a few GUI elements, there are more user-friendly changes still in development. The primary goal here is to release what I have so that others can look at it and tear into it.

If you use this in the course of your assessments, please protect your template. At least in its current state, you'll have to include authentication data as a header item. A best case scenario would be to create a service account and to use a session identifier for that account rather than constantly posting credentials, but this may not necessarily matter in your environment.

Usage:

  1. Before beginning, ensure that you've written a post template adequate for your needs. For more information on this, please see the bip-post text files for examples on formatting, and see the section below titled "Template" for guidance on what to include.
  2. Narrow your Burp Scanner scope. Without narrowing your scope, all issues will be submitted. You will be prompted upon loading BIP to verify whether you have adequately narrowed your scope.
  3. Once you confirm that your scope is narrowed per your needs, BIP will prompt you for the file you wish to use as your posting template.
  4. Choose your desired minimum confidence.
  5. Once BIP is loaded, you may configure Burp Proxy if you have not yet done so.

That's it!

Template

A number of example templates are included under the root of this project with the prefix "bip-post" in the name. The template itself is straightforward:

When configuring the template to include elements of the IScanIssue object, consider whether what Burp includes should be HTML-escaped. For instance, IssueBackground should be escaped unless the service to which you're posting deliberately allows unescaped HTML. Note that escaped HTML will most likely not render within your desired reporting tool.

Available Issue Items:

The following Issue items are available to you in reporting:

Although you can report the IssueType, IssueTypes are reported as integers which can then be mapped to specific names. For the full map, please visit http://portswigger.net/burp/help/scanner_issuetypes.html

TODO

There are a number of items which are outstanding and are considered for future implementation:

Compiling

You should include your version of Burp Suite Professional within the lib directory. Without listing Burp Suite as a dependency, this won't build.

License

The code written for this extension is covered by the BSD license, below. This license does not supercede any licenses for any dependencies used by this extension.

Copyright (c) 2014, Bryant Zadegan. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.