owasp zap screenshots - university of pennsylvaniaquestions and solutions as screenshots : owasp zap...

8
Questions and Solutions as screenshots : OWASP ZAP 1. Setting ZAP as an Intercepting proxy server : In options menu on home page of application, in local proxy, port number can be changed for the proxy. In network setting of browser, proxy should be enabled.

Upload: others

Post on 27-Mar-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: OWASP ZAP Screenshots - University of PennsylvaniaQuestions and Solutions as screenshots : OWASP ZAP 1. Setting ZAP as an Intercepting proxy server : In options menu on home page of

QuestionsandSolutionsasscreenshots:OWASPZAP

1. SettingZAPasanInterceptingproxyserver:Inoptionsmenuonhomepageofapplication,inlocalproxy,portnumbercanbechangedfortheproxy.

Innetworksettingofbrowser,proxyshouldbeenabled.

Page 2: OWASP ZAP Screenshots - University of PennsylvaniaQuestions and Solutions as screenshots : OWASP ZAP 1. Setting ZAP as an Intercepting proxy server : In options menu on home page of

Inthehistorytab,alltherequests,responsescanbeseenwhenrequestsaremadethroughthebrowserthenandtheapplicationactsasaproxylisteningandrecordingalltherequests.Also,alertsandtagslikecookiescanbeseen.

Page 3: OWASP ZAP Screenshots - University of PennsylvaniaQuestions and Solutions as screenshots : OWASP ZAP 1. Setting ZAP as an Intercepting proxy server : In options menu on home page of

Tocrawlawebsiteorlaunchactiveattacks,asamplewebapplicationwascreated.Thiswebapplicationrunsonjettyandisasimpleuserform

2. Crawlingyourwebapplication:Spideroptionisnowselectedafterrightclickingthewebapplication,whichcrawlsthewebsiteanddisplaysresults

Page 4: OWASP ZAP Screenshots - University of PennsylvaniaQuestions and Solutions as screenshots : OWASP ZAP 1. Setting ZAP as an Intercepting proxy server : In options menu on home page of

Thesearetheresultsobtainedaftercrawling:

Optionsforcrawlinglikedepth,threadscanbesetupinoptionsmenu:

Page 5: OWASP ZAP Screenshots - University of PennsylvaniaQuestions and Solutions as screenshots : OWASP ZAP 1. Setting ZAP as an Intercepting proxy server : In options menu on home page of

3. Activeattacksonwebapplicationtolookforunhandledalerts:Activescanwillscanthewebapplicationanddisplaypossiblealerts

Page 6: OWASP ZAP Screenshots - University of PennsylvaniaQuestions and Solutions as screenshots : OWASP ZAP 1. Setting ZAP as an Intercepting proxy server : In options menu on home page of

Asexplainedintheslides,differentalertscanbecheckedinbottomleftcorner:

4. Fuzztestwebapplicationforaspecificparameter:SelectFuzztestingforyourwebapplication

Thenhighlighttheparameter,youwanttofuzzteston,likeinthebelowcaseitisusername,andselectaddpayload

Page 7: OWASP ZAP Screenshots - University of PennsylvaniaQuestions and Solutions as screenshots : OWASP ZAP 1. Setting ZAP as an Intercepting proxy server : In options menu on home page of

Selectfilefuzzerandchoosedifferentfuzztestersavailable.Youcanchoosealltoperformextensivetestingorjustafewselectedpayloads

Page 8: OWASP ZAP Screenshots - University of PennsylvaniaQuestions and Solutions as screenshots : OWASP ZAP 1. Setting ZAP as an Intercepting proxy server : In options menu on home page of

Youcanthenseetheresultsfordifferentpayloads.Requestsandresponsescanbeseen,anddifferentpayloadscanthusbetestedeasily.Reflectedstateindicatesthattheresponseincorrect,andthatpayloadishandledbytheapplication.