Proxying and scanning Vaadin based web application

172 views
Skip to first unread message

Andreas Falk

unread,
Mar 11, 2015, 3:27:40 PM3/11/15
to zaprox...@googlegroups.com
I am currently trying automatic security scanning of an application implemented using Vaadin framework (which is based on GWT with mainly server side extensions).
I am following the wiki entry for regression testing with ZAP.

But during proxying the requests of the Vaadin application in ZAP only one URL entry is shown.
Is there a way to configure ZAP to detect the different pages of a vaadin application as different URL entries, so that these can be scanned afterwards?

Thanks.

kingthorin+owaspzap

unread,
Mar 11, 2015, 3:57:51 PM3/11/15
to zaprox...@googlegroups.com
What version of ZAP are you using?

Andreas Falk

unread,
Mar 11, 2015, 4:46:27 PM3/11/15
to zaprox...@googlegroups.com

I am using latest released version 2.3.1 of ZAP
I did not try weekly version as I have not seen any information hinting that anything has changed regarding gwt/vaadin support.

Simon Bennetts

unread,
Mar 12, 2015, 6:25:34 AM3/12/15
to zaprox...@googlegroups.com
Hi Andreas,

It sounds like Vaadin is whats known as a "single page application".
In other words instead of having urls like:

it has urls like:

is that correct?

By default ZAP build up its model of an application using the 'standard' url pattern, ie the structure is denoted by slashes.

So in the first case we have 3 pages (page1, page2 and page3) but in the second case we just have one (home) with 3 different parameter values.

However you can configure ZAP to understand that the 'page' parameter is part of the application structure by:

  1. Adding your application to a context
  2. Opening the Session Properties dialog and navigating to the 'Structure' panel for that context
  3. Adding the relevant parameter(s) to the list of "Structural Parameters"

You should then see that the Sites tree changes from something like:

To something more like:

Can you try that and let us know if it works for you?

Cheers,

Simon
Reply all
Reply to author
Forward
0 new messages