GadgetsNews wire, 16 h ago
UPnP on ISP routers can open ports you never approved: what to check
Reported by XDA Developers

An XDA Developers writer found that UPnP, a feature that lets devices on a home network ask the router to open inbound ports, was switched on by default in the router his fibre provider supplied. Several ports were open that he had never requested. Turning the feature off removed them with one click. The article argues that the single on/off switch on many ISP routers hides three things that still decide whether UPnP can reopen holes: the protocol version, the handling of IPv6 firewalls, and remote management by the provider.
How UPnP works: a device first searches the local network for a router with a short discovery message. It then sends a mapping request that names the outside port, the inside device, and how long the rule should last, along with a label chosen by the app. The router normally grants the request without asking the user. The original specification dates from 2001, when home networks were treated as trusted, so a mapping can outlive the app that created it. The author says a lease value of zero makes the mapping permanent, so an app removed months later can leave its port open.
Version 2, published in 2010, adds limits. Leases are capped at one week, and the protocol suggests that devices open only their own ports and only ports numbered 1024 and above. Those two safeguards are recommendations, and router makers may skip them. Owners usually cannot see which version their router runs. A UPnP scanner app can identify it, reporting either InternetGatewayDevice:1 or InternetGatewayDevice:2.
Carrier-grade NAT is a separate factor. If the router's WAN address falls within 100.64.0.0 to 100.127.255.255, the provider shares one public IPv4 address among many customers. In that case, people outside the network cannot reach the mapped ports at all. IPv6 works differently. Each device has its own public address, so the router firewall is the only barrier. Guidelines for IPv6 home routers require the firewall to block unsolicited incoming connections, but they also expect an easy way to turn that protection off. UPnP version 2 can open temporary IPv6 pinholes, which last up to a day unless renewed. Users should confirm that the IPv6 firewall is enabled.
The third issue is remote management. Many ISPs use TR-069 to read and change router settings from a distance. The author points to TP-Link's Agile Config tool, sold to providers, and reports that TP-Link's own blog says provider settings can persist after a factory reset. If a router has a TR-069 or remote management page, the provider has a route into the device. The UPnP switch should be checked again after every firmware update or reset.
Consoles are the main reason many people keep UPnP enabled. Outgoing traffic, such as store downloads or matches on a game's servers, does not need an open port. Incoming traffic does, for example when hosting a lobby that other players join directly, or for some direct voice chat. The suggested approach is to give the console a fixed address on the network and open only the ports its maker lists, for that address alone. Behind carrier-grade NAT, neither UPnP nor manual port forwarding helps. Only a public IPv4 address from the provider solves that.
The author has disabled UPnP on his own ONT, but notes that his provider can change the setting remotely, so it may return. If nothing in your home hosts games, media servers or torrents, UPnP may not be needed, and it can stay off. The article does not name a confirmed vulnerability, a specific affected router model, or how many devices are exposed. These points remain unverified.
Enjoying this? Get the Gadgets brief
Every Monday: the gadgets worth your money.
✓ Free · seven editions · one click to leave
Original reporting by the sources above. Summary by smart-home.space.