Overview
Home routers implementing the UPnP protocol do not sufficiently randomize UUIDs in UPnP control URLs, or implement other UPnP security measures.
Description
The UPnP protocol allows automatic device discovery and interaction with devices on a network. The UPnP protocol was originally designed with the threat model of being on a private network (not available to the WAN) restricted to only authorized users, and therefore does not by default implement authentication. Later efforts developed a UPnP Security standard, but according to UPnP Forum's Device Protection standard documentation, "support and deployment of this standard has been extremely limited", due to cumbersome user experience and lack of industry buy-in of advanced features such as Public Key Infrastructure (PKI). According to the reporter, poor adoption of the security standard may broadly open up opportunities for an attacker with private network access to guess the UPnP Control URLs for many devices currently on the market. If the guess is correct, the attacker may utilize UPnP to make changes to the home router's configuration such as opening ports and enabling services that allow an attacker further access to the network. A correct guess is likely, due to many manufacturers' use of standardized UPnP Control URL names. |
Impact
An attacker able to gain access to the private network by enticing a user to visit a specially-crafted web page may be able to silently open ports in a user's firewall or perform other administrative actions on the gateway router. |
Solution
The CERT/CC is currently unaware of a full solution to this problem. However, the following workarounds may help mitigate risks. |
Do not follow unknown links |
Vendor Information
CVSS Metrics
Group | Score | Vector |
---|---|---|
Base | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Temporal | 3.7 | E:POC/RL:U/RC:UR |
Environmental | 3.7 | CDP:ND/TD:H/CR:ND/IR:ND/AR:ND |
References
- http://www.filet-o-firewall.com
- http://upnp.org/index.php/sdcps-and-certification/standards/device-architecture-documents/
- http://www.gnucitizen.org/blog/hacking-the-interwebs
- http://crypto.stanford.edu/dns/
- http://blog.trendmicro.com/trendlabs-security-intelligence/protecting-your-router-against-possibl-dns-rebinding-attacks/
Acknowledgements
Thanks to Grant Harrelson for reporting this issue to us.
This document was written by Garret Wassermann.
Other Information
CVE IDs: | None |
Date Public: | 2015-08-31 |
Date First Published: | 2015-08-31 |
Date Last Updated: | 2016-01-04 15:56 UTC |
Document Revision: | 84 |