question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

False positive for "Modern Web Application"

See original GitHub issue

Describe the bug

I scan my website using Zaproxy.

I get the informational alert: “The application appears to be a modern web application. If you need to explore it automatically then the Ajax Spider may well be more effective than the standard one.” with:

Evidence: <a>

Problem: this was raised by a URL which corresponds to a JPEG image!

Indeed, if I look at the bytes in the image, I find the string “<a>”.

Steps to reproduce the behavior

Host an image containing bytes on a website.

Scan the website.

Observe the report.

Expected behavior

This should not raise the informational alert: “The application appears to be a modern web application”.

It makes no sense to deduce that from binary data.

I suggest that the alert should consider either the response body itself (it should be HTML) or the Content-Type header of the response.

Software versions

I use version 2.12.0

Screenshots

No response

Errors from the zap.log file

No response

Additional context

No response

Would you like to help fix this issue?

  • Yes

github_iconTop GitHub Comments

peter17commented, Nov 26, 2022

@kingthorin Done, thanks!

0reactions
kingthorincommented, Nov 26, 2022

@peter17 do you want to tackle fixing it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to tackle false positives in web application security - Invicti
In web application security, a false positive is when a web application security scanner indicates that your website has a vulnerability, such ...
Read more >
False positives in web application security - Capgemini
Embedding false positive management within the software development path and testing process helps strengthen applications, capitalizing on ...
Read more >
Avoid Alert Fatigue: How to Automatically Get Rid of WAF ...
Some false positive events are caused by bugs or a bad practice used in your application. Other events can happen because of a...
Read more >
Netsparker Tackles False Positives In Web Application ...
A false positive is when a web application security scanner falsely indicates a vulnerability on your website, such as SQL injection.
Read more >
The Myth of False Positives in Static Application Security Testing
Static application security testing tools are notorious for presenting false positives, i.e., incorrect warnings.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found