Skip to content

Security Topic // Proxy Headers Trust Issue // Unconditional Trust Of X-Fowarded Headers #855

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

Closed
alenbhclynpblc opened this issue Feb 18, 2017 · 1 comment
Labels

Comments

@alenbhclynpblc
Copy link

Description

Application has an X-Forwarded-For (and various names) detection but there is no any 'trusted proxy' setting. This will be a security issue, when an attacker sends non-owned ip addresses.

This can be checked with an middleware but developers (who don't know this types of attack vectors) will use this function without any doubt, framework can force to use an method (e.g. 'resolveProxyHeaders(true)') for activating and forcing the developer to read notices.

For example you can check Symfony Framework (PHP): http://symfony.com/doc/current/components/http_foundation/trusting_proxies.html

If you want i can share more example frameworks which have this feature.

Checklist

  • [ X ] Dependencies installed
  • [ X ] No typos
  • [ X ] Searched existing issues and docs
@stale
Copy link

stale bot commented Nov 30, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant