Bug 905700 (CVE-2013-0213)

Summary: CVE-2013-0213 samba: clickjacking vulnerability in SWAT
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: asn, gdeschner, jlieskov, rhack, sbose, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20130130,reported=20130122,source=upstream,cvss2=2.9/AV:A/AC:M/Au:N/C:N/I:P/A:N,rhel-5/samba=affected,rhel-5/samba3x=affected,rhel-6/samba=affected,fedora-all/samba=affected,fedora-all/samba4=affected
Fixed In Version: samba 4.0.2, samba 3.6.12, samba 3.5.21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-17 14:15:29 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 906002, 906003, 957589, 957591, 1015359, 1073350, 1073351    
Bug Blocks: 905705, 952520, 974906    

Description Vincent Danen 2013-01-29 19:40:59 EST
It was reported [1] that Samba's SWAT web configuration interface suffered from a potential clickjacking vulnerability, which allows the SWAT page to be embedded in an attacker's web page using a frame or iframe, and then tricking the user to change Samba settings.

This is being fixed by telling the browser to refuse frame embedding via the "X-Frame-Options: DENY" header.

[1] https://bugzilla.samba.org/show_bug.cgi?id=9576
Comment 1 Vincent Danen 2013-01-29 20:04:23 EST
Acknowledgements:

Red Hat would like to thank the Samba project for reporting this issue. Upstream acknowledges Jann Horn as the original reporter.
Comment 3 Vincent Danen 2013-01-30 10:26:03 EST
This has been corrected in upstream versions 4.0.2, 3.6.12, and 3.5.21.

External References:

http://www.samba.org/samba/history/samba-4.0.2.html
Comment 5 Vincent Danen 2013-01-30 10:29:31 EST
Created samba4 tracking bugs for this issue

Affects: fedora-17 [bug 906003]
Comment 6 Vincent Danen 2013-01-30 10:29:35 EST
Created samba tracking bugs for this issue

Affects: fedora-all [bug 906002]
Comment 8 Jan Lieskovsky 2013-01-31 10:50:25 EST
External References:

http://www.samba.org/samba/security/CVE-2013-0213
Comment 10 Fedora Update System 2013-02-12 00:02:48 EST
samba-3.6.12-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 11 Fedora Update System 2013-02-12 00:06:12 EST
samba-4.0.2-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 12 Fedora Update System 2013-02-12 00:30:09 EST
samba-3.6.12-1.fc17.1 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 13 Andreas Schneider 2013-02-18 05:55:16 EST
Samba upstream wants to remove SWAT in Samba 4.1, see:

https://lists.samba.org/archive/samba-technical/2013-February/090572.html
Comment 15 Tomas Hoger 2013-09-20 05:27:59 EDT
Upstream commit:

http://git.samba.org/?p=samba.git;a=commitdiff;h=7122594
Comment 16 errata-xmlrpc 2013-09-30 18:20:28 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2013:1310 https://rhn.redhat.com/errata/RHSA-2013-1310.html
Comment 17 Huzaifa S. Sidhpurwala 2013-10-01 00:55:17 EDT
Statement:

(none)
Comment 22 errata-xmlrpc 2013-11-21 00:21:59 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2013:1542 https://rhn.redhat.com/errata/RHSA-2013-1542.html
Comment 25 errata-xmlrpc 2014-03-17 13:43:04 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2014:0305 https://rhn.redhat.com/errata/RHSA-2014-0305.html