Skip to content
AdminKit

mDNS, SSDP and UPnP: how LAN service-discovery protocols leak device info

mDNS, SSDP and UPnP all exist to let devices on a local network find each other automatically without manual configuration, and all three work by broadcasting or multicasting information — device names, models, available services, and sometimes a standing offer to open ports — to anything else listening on the same network segment, which is convenient on a trusted home LAN and a quiet information leak or attack surface on any network an attacker can reach.

By AdminKit team, Netbase JSC · Updated October 24, 2026

Why “zero configuration” networking leaks information by design

mDNS, SSDP and UPnP all trade a small amount of information exposure for the convenience of devices finding each other automatically. That tradeoff made sense when these protocols were designed for small, implicitly trusted home networks — the same assumption baked into a lot of consumer IoT and home-network design from that era. RFC 6762, which defines multicast DNS (mDNS), is explicit that it’s meant for “networks where no conventional DNS server is available,” a description that fits a home LAN but not a shared office Wi-Fi network, a hotel network, or a coworking space where dozens of unrelated devices sit on the same segment. On any of those less-trusted networks, the same broadcasts that let your laptop find a printer also let every other device on that network see your laptop’s hostname, and often its operating system fingerprint and the services it’s running.

SSDP works similarly for service announcements: a smart TV, NAS, or IoT hub periodically announces itself and its capabilities to the local multicast group, which is how your phone’s casting app finds a Chromecast without you typing in an IP address. DNS-SD (RFC 6763) layers the same idea on top of mDNS using SRV, PTR and TXT records, which is how a printer or media server advertises its name, port and capabilities for discovery without any central directory. The same announcement tells anyone else listening exactly what that device is and often its software version — useful reconnaissance information for an attacker already on the network, with zero effort required to obtain it.

UPnP’s port-forwarding feature is the real risk

Discovery alone is a privacy and fingerprinting concern. UPnP’s Internet Gateway Device (IGD) extension is a different category of risk, because it doesn’t just announce information — it lets a device on the network actively request that the router set up a port forward from the public internet to that device, with no authentication beyond “the request came from inside the network.” This exists for legitimate reasons (game consoles needing inbound connectivity, VoIP clients negotiating calls, some video conferencing software), related to the kind of NAT traversal behavior described in RFC 6886. But a router generally has no way to tell a legitimate device’s request from a request made by malware already running on a compromised device inside the network — and that’s exactly the exposure pattern CISA’s advisories on UPnP-related vulnerabilities have documented repeatedly: a device inside the network silently opens a port to the public internet, with no indication visible to the person using the network unless they go looking at the router’s mapping table.

Practical risk tiers

  • Lowest risk: mDNS/SSDP on a genuinely trusted, small home LAN. The convenience generally outweighs the exposure if the only other devices on the network are also yours.
  • Meaningful risk: mDNS/SSDP on any shared or semi-trusted network. Office networks with guest access, coworking spaces, or any LAN segment shared with devices you don’t control turns passive discovery into free reconnaissance for anyone else on that segment. On a genuinely hostile shared segment, that reconnaissance is often paired with more active attacks like ARP spoofing, which can intercept traffic outright rather than just observe what’s broadcast.
  • Highest risk: UPnP’s automatic port-forwarding, anywhere. This is the one feature of the three that can turn an internal issue (a compromised IoT device or piece of malware) into an internet-facing one, without any user action or awareness.

What to actually do about it

  • Segment discovery-heavy devices onto their own network. Keep IoT devices, smart TVs, and anything relying on mDNS/SSDP discovery off the same network segment as work laptops or anything handling sensitive data — this is the same segmentation principle covered in our guide on IPv6 home devices needing a firewall.
  • Disable UPnP on your router unless you have a specific, understood need for it. Most consumer and small-office routers expose this as a simple on/off toggle in the admin panel; check the router’s active UPnP mapping list first to see what, if anything, currently relies on it before disabling.
  • Don’t expose mDNS/SSDP/UPnP traffic across network boundaries. These protocols are meant to stay on a single local segment; a router or firewall that accidentally forwards multicast traffic between a guest network and a trusted one, or between VLANs, defeats the segmentation that limits their exposure.
  • Check what’s actually reachable from outside. Use AdminKit’s port check tool to confirm whether any port that shouldn’t be internet-facing has ended up open — including ports UPnP may have opened on your behalf without your direct action.

These discovery protocols are one layer of a broader “what does my network expose by default” question that also covers IoT device segmentation and open management ports; see our guides on IPv6 home devices needing a firewall and is port 1883 (MQTT) open for related angles on the same theme.

This guide is general information, not a security audit of your specific network — see our disclaimer for what AdminKit's guidance does and does not commit to.

Frequently asked questions

What's the difference between mDNS, SSDP and UPnP?

mDNS (multicast DNS, RFC 6762) is a name-resolution protocol — it lets devices answer 'who has the name printer.local?' without a central DNS server, and is the basis for Apple's Bonjour/AirPlay discovery. SSDP (Simple Service Discovery Protocol) is how devices on a network announce and discover available services, commonly used by smart TVs, media servers and IoT hubs. UPnP (Universal Plug and Play) is a broader framework that uses SSDP for discovery but adds the ability for a device to actually request that a router automatically open a port on its behalf — the piece with the most serious security implications of the three.

What information does mDNS/SSDP actually broadcast?

Typically the device's hostname, model or manufacturer string, the services it offers (printing, file sharing, media streaming, a specific IoT vendor's API), and sometimes software version information — all sent unauthenticated to anyone passively listening on the same network segment. None of this requires compromising the device; it's broadcast by design so other devices can discover it, which means anyone else on the same Wi-Fi network or LAN segment receives the same broadcasts for free.

Why is UPnP's port-opening feature considered risky?

UPnP's Internet Gateway Device (IGD) protocol lets any device on the local network ask the router to open a specific port and forward it to that device — originally meant to simplify things like game consoles or VoIP software asking for inbound connectivity without a human configuring port forwarding manually. The security problem is that the router generally can't distinguish a legitimate request from one made by malware already running on a compromised device inside the network; several public research disclosures over the years have documented UPnP implementations opening ports to the internet without any user awareness or consent, turning an internal compromise into internet-facing exposure.

Should I just disable mDNS, SSDP and UPnP everywhere?

Not necessarily everywhere — mDNS and SSDP enable real, expected functionality (AirPlay, Chromecast discovery, network printing, media server discovery) that many households and offices rely on, and disabling them can break those features. The actual fix is scoping where they're reachable from: these protocols should never cross from a trusted LAN segment to a guest network, and router-level UPnP should be disabled unless you have a specific, understood reason to need automatic port forwarding — most home and office setups function fine without it.

How do I check if these protocols are exposing my network to the internet?

The main risk isn't usually these protocols leaking across the public internet directly — multicast traffic doesn't normally route off the local segment — it's UPnP-opened ports ending up reachable from outside. Use AdminKit's my IP tool to confirm your public-facing address, and check your router's own port-forwarding or UPnP mapping list (most consumer router admin panels show currently active UPnP-opened ports) for any forwarding rule you didn't set up manually.

Want AdminKit to watch this for you?

Free checks tell you the state today. Protective DNS and monitoring tell you when it changes.