-
Notifications
You must be signed in to change notification settings - Fork 79
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
Prevent redirecting to local hosts in Oracle #2381
Comments
this comment should be noticed in this topic because of the dns record changes during the 2 dns lookups |
i suggest to customize |
The default |
neo-go/pkg/services/oracle/request.go Line 139 in ff60571
inside |
remember the dns record may be controlled by the attacker 🌚 |
It's not always the case due to connection caching, but I was thinking more about redirects (the original problem stated) and what can happen during the call processing.
That's true, resolving something in The way |
See neo-project/neo#2662 and neo-project/neo-modules#692. Turns out, net/http Client has
CheckRedirect
exactly for this purpose (but be careful to keep the limit on redirections number).The text was updated successfully, but these errors were encountered: