databases are deleted when owasp zap is run

148 views
Skip to first unread message

jakerm

unread,
Sep 15, 2019, 8:26:33 AM9/15/19
to OWASP ZAP User Group
hi. i'd like to ask why my most of my databases are deleted, along with most tables in phpmyadmin db when i run owasp zap.
whether its automated scan or active scan.

p.s.: i only turn on apache and mysql when i'm not connected to internet.

win 10 32bit
zap 2.8.0
xampp-win32-7.3.2-0-VC15-installer.exe
xampp-portable-win32-7.3.2-0-VC15.zip

kingthorin+owaspzap

unread,
Sep 15, 2019, 3:53:47 PM9/15/19
to OWASP ZAP User Group
Well from phpmyadmin there’s functionality that drops tables/DBs. Then you run a tool against it that meant to exercise web app functionality.......

jakerm

unread,
Sep 16, 2019, 11:20:03 AM9/16/19
to OWASP ZAP User Group
i still don't get it how the databases gets deleted after running zap

Peter Hauschulz

unread,
Sep 17, 2019, 3:52:19 AM9/17/19
to OWASP ZAP User Group
As kingthorin said, phpmyadmin has a function used to delete database entries, tables, etc. 

When you run an active scan against it, you will see in the relevant tab that ZAP is sending a huge number of requests (both legitimate and manipulated) to find and test for vulnerabilities in your webapp (including phpmyadmin). Especially after proxying or spidering, it is most likely sending a few dozen variations of the droptable requests to your webapp. 
Reply all
Reply to author
Forward
0 new messages