How to determine what IP the browser is navigating to? #1905
willhughes-au
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking to limit the scope of any potential SSRF attacks.
The scenario is where we might have user-controlled content that is being crawled.
Scenarios:
Looking for similar discussions I've run into this discussion: #1814
That might work for determining ports, but I can't see a way to find the IP that the browser is or will connect to.
Given that DNS entries can be very short lived, and can programmatically return different results for each resolve. It is not simply sufficient to resolve the DNS entry prior to navigation if that's not the IP that the browser will connect to.
Beta Was this translation helpful? Give feedback.
All reactions