diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-10-20 21:52:49 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2010-10-21 13:06:14 +0200 |
commit | 79fffbf95d96b0eeb740fdfb9cca285fab8735c6 (patch) | |
tree | adc8eef370ec71267bc2100860e03763ca86348a /client/application.cpp | |
parent | 023d9c0d9118afe64ef17295cd683594413bd36e (diff) | |
download | spice-79fffbf95d96b0eeb740fdfb9cca285fab8735c6.tar.gz spice-79fffbf95d96b0eeb740fdfb9cca285fab8735c6.tar.xz spice-79fffbf95d96b0eeb740fdfb9cca285fab8735c6.zip |
spicec-x11: Change source of controller socket name, fixing CVE-2010-2792
The socket name used to communicate between the xpi browser plugin and the
spicec was predictable allowing a non priviliged user on the same system
to create the socket before spicec does and thus intercept the messages from
the xpi to the client, including login credentials. This security vulnerability
has been registred with mitre as CVE-2010-2792:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-2792
This patch changes the controller code to instead read the socket name
from an environment variable which gets set by the xpi before executing
the spicec, making the socketname private between the client and the xpi.
Note that this means that the controller will only work with an xpi which
has matching changes, the changes are present in the latest version of the
xpi as available as update for / with RHEL-5.5 and RHEL-6.0 .
Diffstat (limited to 'client/application.cpp')
0 files changed, 0 insertions, 0 deletions