Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix IIS Internal IP Disclosure #4479

Merged
merged 3 commits into from
May 25, 2022
Merged

Fix IIS Internal IP Disclosure #4479

merged 3 commits into from
May 25, 2022

Conversation

y0no
Copy link
Contributor

@y0no y0no commented May 25, 2022

In some cases, the IIS Internal IP Disclosure template does not works. The "Host" header need to be completly removed to avoid getting a 400 Bad Request (Invalid Host Header) error. In addition, the status code used to check the vulnerability can be 302 or 301.

  • Fixed IIS Internal IP Disclosure

Template Validation

I've validated this template locally?

  • YES
  • NO

Copy link
Member

@ehsandeep ehsandeep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the heads up and update @y0no, we can actually keep both one with stop-at-first-match, I also updated the matcher to filter out some false positive results which matches against other parts of header response, now it will only look to match with location header.

@ehsandeep ehsandeep merged commit c3d0dcb into projectdiscovery:master May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants