by revanx_ · 6y ago · 0 comments
hidden img tags to all common gateways (eg 192.168.0.1) are loaded in background
And why would browsers allow this? If I connect to external IP address, why would the browser happly parse such html tags that allows introspection of my local network? Unless of same origin, browsers should not allow this, seems like a bug.This is one of the reasons network level controls are problematic and the solution is being reinvented as "zero trust networking".
There's an argument against it, but it has always been allowed for things like images so far.
If you know for example the path of the netgear logo on a router, you can try loading it and determine success/failure. Existing CORS isn't strict enough to prevent this, and it's debatable whether it should be