Bug 905704 - (CVE-2013-0214) CVE-2013-0214 samba: cross-site request forgery vulnerability in SWAT
CVE-2013-0214 samba: cross-site request forgery vulnerability in SWAT
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20130130,repor...
: Security
Depends On: 906002 906003 957589 957591 1015359 1073350 1073351
Blocks: 905705 952520 974906
  Show dependency treegraph
 
Reported: 2013-01-29 20:01 EST by Vincent Danen
Modified: 2016-03-04 07:46 EST (History)
6 users (show)

See Also:
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:16:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vincent Danen 2013-01-29 20:01:01 EST
It was reported [1] that Samba's SWAT web configuration interface suffered from a potential cross-site request forgery (CSRF) vulnerability.

This is being fixed by using a random nonce stored in secrets.tdb.

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

Red Hat would like to thank the Samba project for reporting this issue. Upstream acknowledges Jann Horn as the original reporter.
Comment 2 Vincent Danen 2013-01-30 10:25:13 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 3 Vincent Danen 2013-01-30 10:30:16 EST
Created samba4 tracking bugs for this issue

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

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

http://www.samba.org/samba/security/CVE-2013-0214
Comment 8 Fedora Update System 2013-02-12 00:02:59 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 9 Fedora Update System 2013-02-12 00:06:19 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 10 Fedora Update System 2013-02-12 00:30:40 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 11 Andreas Schneider 2013-02-18 05:55:12 EST
Samba upstream wants to remove SWAT in Samba 4.1, see:

https://lists.samba.org/archive/samba-technical/2013-February/090572.html
Comment 13 Tomas Hoger 2013-09-20 05:28:18 EDT
Upstream commit:

http://git.samba.org/?p=samba.git;a=commitdiff;h=91f4275
Comment 14 Tomas Hoger 2013-09-20 06:39:56 EDT
(In reply to Vincent Danen from comment #0)
> It was reported [1] that Samba's SWAT web configuration interface suffered
> from a potential cross-site request forgery (CSRF) vulnerability.

This was an issue in the CSRF protection implementation that could possibly allow attacker to bypass existing CSRF protections if they knew victim's password.  CSRF protection was added in upstream version 3.5.10, see CVE-2011-2522 / bug 721348.
Comment 15 errata-xmlrpc 2013-09-30 18:20:37 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 16 Huzaifa S. Sidhpurwala 2013-10-01 00:55:42 EDT
Statement:

(none)
Comment 20 errata-xmlrpc 2013-11-21 00:22:08 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 23 errata-xmlrpc 2014-03-17 13:43:21 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

Note You need to log in before you can comment on or make changes to this bug.