Multicast DNS (.local)

Discussions about the Application Boundaries Enforcer (ABE) module
Grimeton
Posts: 4
Joined: Sat Oct 08, 2011 8:04 pm

Multicast DNS (.local)

Post by Grimeton »

Hi,

I read this: http://noscript.net/abe/abe_rules.pdf and I'm wondering why the "LOCAL" token does not cover the TLD ".local" which is the mDNS TLD to resolve hosts in the local network.

IMHO it should be covered by that rule...

KR,

Grimeton.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:23.0) Gecko/20100101 Firefox/23.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Multicast DNS (.local)

Post by Giorgio Maone »

The "LOCAL" relies on actual DNS resolution, hence while hardcoding ".local" might look like an optimization, if a (maliciously?) misconfigured DNS points a *.local name to an external IP this would become a vulnerability.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
Grimeton
Posts: 4
Joined: Sat Oct 08, 2011 8:04 pm

Re: Multicast DNS (.local)

Post by Grimeton »

Hi,

then, at least for IPv4, you should check if the .local hostname points to a private subnet...

As this all becomes invalid for IPv6 (no, fe80:: is not the equivalent of the IPv4 private subnets), you will have to rely on the fact that people are able to configure their DNS correctly ...

KR,

G.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:23.0) Gecko/20100101 Firefox/23.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Multicast DNS (.local)

Post by Thrawn »

Grimeton wrote:you will have to rely on the fact that people are able to configure their DNS correctly ...
If I understand correctly, ABE will simply look at what each hostname resolves to, and determine whether that IP address is local. I don't see how misconfigured DNS becomes an issue in that case. If http://foo.local points to a WAN IP, it will be correctly treated as one, and if www.random.com points to something local (common in captive internet gateways), then it will be correctly treated as local. Where is the problem?
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0
Grimeton
Posts: 4
Joined: Sat Oct 08, 2011 8:04 pm

Re: Multicast DNS (.local)

Post by Grimeton »

Hi,

Image

And the host resolves to a local address in the 192.168/16 subnet.

cu
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:23.0) Gecko/20100101 Firefox/23.0
Post Reply