1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
6 <title>Samba - Security Announcement Archive</title>
11 <H2>CVE-2013-0213.html:</H2>
15 ===========================================================
16 == Subject: Clickjacking in SWAT
18 == CVE ID#: CVE-2013-0213
20 == Versions: Samba 3.0.x - 4.0.1 (inclusive)
22 == Summary: The Samba Web Administration Tool (SWAT) in Samba versions
23 == 3.0.x to 4.0.1 could possibly be used in clickjacking attacks.
25 == Note that SWAT must be enabled in order for this
26 == vulnerability to be exploitable. By default, SWAT
27 == is *not* enabled on a Samba install.
29 ===========================================================
35 All current released versions of Samba are vulnerable to clickjacking in the
36 Samba Web Administration Tool (SWAT). When the SWAT pages are integrated into
37 a malicious web page via a frame or iframe and then overlaid by other content,
38 an attacker could trick an administrator to potentially change Samba settings.
40 In order to be vulnerable, SWAT must have been installed and enabled
41 either as a standalone server launched from inetd or xinetd, or as a
42 CGI plugin to Apache. If SWAT has not been installed or enabled (which
43 is the default install state for Samba) this advisory can be ignored.
49 Ensure SWAT is turned off and configure Samba using an alternative method
50 to edit the smb.conf file.
56 Patches addressing this defect have been posted to
58 http://www.samba.org/samba/security/
60 Additionally, Samba 4.0.2, 3.6.12 and 3.5.21 have been issued as security
61 releases to correct the defect. Samba administrators running affected versions
62 are advised to upgrade to 4.0.2, 3.6.12 or 3.5.21 or apply the patch as soon as
69 The vulnerability was discovered and reported to the Samba Team by Jann Horn.
70 The patches for all Samba versions were written and tested by Kai Blin
74 ==========================================================
75 == Our Code, Our Bugs, Our Responsibility.
77 ==========================================================