W3C home > Mailing lists > Public > public-device-apis@w3.org > October 2013

RE: [discovery] improving the acceptability of the NSD API

From: FABLET Youenn <Youenn.Fablet@crf.canon.fr>
Date: Thu, 10 Oct 2013 09:39:07 +0000
To: Jean-Claude Dufourd <jean-claude.dufourd@telecom-paristech.fr>, "public-device-apis@w3.org" <public-device-apis@w3.org>
Message-ID: <ACC41E833067BD4FB8084DEBA2D866BE2F539552@ADELE.crf.canon.fr>

> What I was clear about was that if communication was restricted to UPnP
> messaging valid wrt the service description, it would probably be quite hard
> to hack devices.

Restricting to valid UPnP messages is a good step forward but not always sufficient.
Well-crafted but valid UPnP messages sent to some UPnP IGD service implementations can cause security holes.
Additional service-specific checks (nothing impossible actually) would be needed to fix this.

That said, for most NSD envisioned services (media servers/renderers...), this kind of validation probably removes most (you can never say all...) attacks.

FWIW, it is already feasible and relatively simple for browsers or browser extensions to implement those checks at the time a XHR request is sent.
That may be an option for unsafe services that a browser would like to whitelist.

Received on Thursday, 10 October 2013 09:39:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:33:01 UTC