Scan gets 403, resend gets 200

97 views
Skip to first unread message

rezervoar

unread,
Jul 29, 2022, 9:20:20 AM7/29/22
to OWASP ZAP User Group
Hi,

I am having an issue as in title:

I am testing an API for a mobile app. I imported endpoints, all well. I set the headers, authorization token, everything well... Everything seems fine. Manually, I can do pretty much everything.
But, during active scan, all requests get "403 Forbidden" response.
When I stop or pause my scan and I resend any of the past requests,, I get "200"...

I experimented with active scan options, but nothing changed...

My first guess was that scan is too fast. I wanted to insert some pause between the requests, so I tried to increase scan delay. Looking at the timestamps, nothing changed in timing.

I'm stuck.

Any help. please.

Best regards

R.

kingthorin+owaspzap

unread,
Jul 29, 2022, 10:26:11 AM7/29/22
to OWASP ZAP User Group

rezervoar

unread,
Jul 30, 2022, 3:37:52 AM7/30/22
to OWASP ZAP User Group
Hi,

Thank you for your reply.
Unfortunately, this didn't work. I've already tried that even before my post.

Best regards,

R.

Simon Bennetts

unread,
Aug 1, 2022, 3:12:38 AM8/1/22
to OWASP ZAP User Group
Can you find out if a WAF or similar is being used?
Or find out from the service owner if they have any other tech involved which will try to prevent such attacks from being performed?

rezervoar

unread,
Aug 1, 2022, 12:50:21 PM8/1/22
to OWASP ZAP User Group
Hi,

I checked about WAF existence with service owner, and they said there is no WAF in place.

But, I found a peculiarity in ZAP behavior. It seems that I can not change the value for "Delay When Scanning" in Options/Active Scan within one session. Well, I can change it but the change is not effective - not only within the same (paused) scan but also within the successive scans (stop/start).
In order to change the delay, I have to start another session.
I don't know yet is it a bug or a feature. I would be glad to hear from you on this.
But, at least, now I know that there is a WAF - I set delay to 300ms and I get all 200.

Thank you all for your answers.

Best regards.

R.
Reply all
Reply to author
Forward
0 new messages