Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent dns rebinding attacks in
httpoverrpc proxy
.
Proxying is intended to be a safe way to access possibly-sensitive resources. An attacker could theoretically use DNS rebinding (https://en.wikipedia.org/wiki/DNS_rebinding) to create a malicious domain that tricks a web browser into using a proxied connection. Let's change the defaults to eliminate that risk by ensuring that we're using localhost or accessing directly via an ip address.
- Loading branch information