[gtk-vnc-devel] [PATCH] plugin security



After some discussion here about plugin security, this documents what we think are the potential vulnerabilities of letting an unconstrained plugin live in your browser ...

Rich.

--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
diff -r e8d37fb527c2 plugin/README
--- a/plugin/README	Tue Jan 15 13:28:03 2008 +0000
+++ b/plugin/README	Fri Jan 25 12:57:04 2008 +0000
@@ -104,17 +104,20 @@ Future work
 * Allow remote control from Javascript.
 * Allow authentication methods to be specified as parameters.
 
-Security
+SECURITY
 --------
 
-Obviously if you have this plugin, then any web page could invoke it,
-which would entail a VNC connection to any IP address/port
-combination, including addresses which are behind firewalls.  As it
-stands, this doesn't seem like very much risk because (1) Gtk-VNC will
-only talk to VNC servers which respond with the appropriate VNC
-greeting, and (2) in any case the web page can't query the plugin to
-see if the connection was successful.
+If you install this plugin, then any web page could invoke it.
 
-Security will become an issue if the plugin is extended to allow
-control / status from Javascript.  You might want to think about
-having a whitelist of sites which are allowed to use the plugin.
+Specific security implications of this are:
+
+(1) Malicious web page could cause your browser to connect to any IP
+address/port, even addresses behind a firewall.  If you allow the
+plugin to be controlled by Javascript, and to communicate back
+success/failure indications, then this would allow a hacker to probe
+ports which they might otherwise not have access to.
+
+(2) A web page could connect to a malicious VNC server.  The Gtk-VNC
+widget is not hardened against responses from malicious VNC servers
+which might provide faulty responses, causing Gtk-VNC to crash or be
+subverted.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]