s3 swat: Fix possible XSS attack (bug #8289)
commitd401ccaedaec09ad6900ec24ecaf205bed3e3ac1
authorKai Blin <kai@samba.org>
Thu, 7 Jul 2011 08:03:33 +0000 (7 10:03 +0200)
committerKarolin Seeger <kseeger@samba.org>
Sun, 24 Jul 2011 18:39:25 +0000 (24 20:39 +0200)
tree8152422cff9e3461e0c7684a654a2e2f8a27710b
parent5d2d4fbf5bcf6aa1c1d994adaed22dec3ba09b9c
s3 swat: Fix possible XSS attack (bug #8289)

Nobuhiro Tsuji of NTT DATA SECURITY CORPORATION reported a possible XSS attack
against SWAT, the Samba Web Administration Tool. The attack uses reflection to
insert arbitrary content into the "change password" page.

This patch fixes the reflection issue by not printing user-specified content on
the website anymore.

Signed-off-by: Kai Blin <kai@samba.org>
CVE-2011-2694.
source/web/swat.c