About TEAM Mentor

Accessing and Reading Content

Installation

Administration

Editing Content

Eclipse for Fortify plugin

HP Fortify SCA UI Integration

Using the Jade Fail Safe Version

Using a Sample Vulnerable Application

To see the TEAM Mentor Eclipse Plugin for Fortify at work you can scan a sample, purposely vulnerable application. For this we have chosen “BodgeIt Store” – A vulnerable web application aimed at people new to pen testing. You can read more about the application here:

https://code.google.com/p/bodgeit/


Follow these steps to download, import and scan the application:

  1. We use SVN to checkout the latest source code version of the application. TortoiseSVN provides a nice graphical interface. The SVN source code repository is found here:

    http://bodgeit.googlecode.com/svn/trunk/




  2. TortoiseSVN will download the source code




  3. Once download is complete, create a new Java project in your eclipse workspace. Goto “File”->”New”->”Java Project”. Give the project a name, say “BodgeIt”, and click “Finish”




  4. Right Click on the newly created project in the Package Explorer, and click on “Import…”. In the “Import” dialog box that comes up, expand “General” and select “File System”. Click “Next”.




  5. In the “File System” dialog browse to the root of the directory where you have downloaded the source code. Select the directory, to import all the source code and click “Finish”




  6. Now you should see the project source code imported in your package explorer. Disregard any errors you see in the com.thebodgeitstore.selenium.tests package.




  7. Select the BodgeIt project in the package explorer, click on HP Fortify -> Analyze Project. HP Fortify will start analysis of the application.



    Ignore the warnings about reference Java classes. For the purposes of this test they are irrelevant. However, when testing your application you may want to pay closer attention to any warnings you may see.


  8. Now you should see the Fortify Perspective with TEAM Mentor Guidance automatically displayed for a selected finding. For example expand “Cross-Site Scripting: Persistent” folder in the category list on the left pane. Click on one of the findings. You will see TEAM Mentor guidance show up on the right pane.




  9. Expand the “Race Condition: Singleton Member Field” in the category on the right pane. Click on one finding. You will notice that there is no TEAM Mentor guidance available for this finding. (As seen by the message on the right). TEAM Mentor displays regular Fortify recommendation. You may also use regular Fortify guidance available on the bottom pane.