Bug 721348 (CVE-2011-2522)

Summary: CVE-2011-2522 samba (SWAT): Absent CSRF protection in various Samba web configuration formulars
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: asn, azelinka, gdeschner, mbarnes, mcermak, mjc, prc, security-response-team, ssorce, vdanen
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: samba 3.5.10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-30 07:22:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 722551, 722552, 722553, 722555, 722556, 722560, 722561, 725890    
Bug Blocks: 721358    

Description Jan Lieskovsky 2011-07-14 10:54:36 UTC
It was found that the different user screens (HTML forms) of the Samba Web Administration Tool suite were missing protection against cross-site request forgery (CSRF) attacks. A remote attacker could provide a specially-crafted URL, which once visited by an authenticated Samba SWAT user could lead to unauthorized commands execution with the privileges of that user (for example shut down or start the samba daemons, add or remove shares, printers, user accounts if the victim authenticated as privileged user to Samba SWAT).

Upstream bug report:
[1] https://bugzilla.samba.org/show_bug.cgi?id=8290 (not public yet)

Acknowledgements:

Red Hat would like to thank the Samba project for reporting this issue.
Upstream acknowledges Yoshihiro Ishikawa of LAC Co., Ltd. as the original reporter.

Comment 2 Jan Lieskovsky 2011-07-14 11:04:56 UTC
This issue affects the versions of the samba package, as shipped with Red Hat Enterprise Linux 4, 5, and 6.

--

This issue affects the version of the samba3x package, as shipped with Red Hat Enterprise Linux 5.

--

This issue does NOT affect the version of the samba4 package, as shipped with
Red Hat Enterprise Linux 6.

--

This issue affects the versions of the samba package, as shipped with Fedora release of 14 and 15.

Comment 15 Vincent Danen 2011-07-26 21:08:38 UTC
Created samba tracking bugs for this issue

Affects: fedora-all [bug 725890]

Comment 16 errata-xmlrpc 2011-08-29 17:27:23 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2011:1220 https://rhn.redhat.com/errata/RHSA-2011-1220.html

Comment 17 errata-xmlrpc 2011-08-29 17:27:47 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4
  Red Hat Enterprise Linux 5

Via RHSA-2011:1219 https://rhn.redhat.com/errata/RHSA-2011-1219.html

Comment 18 errata-xmlrpc 2011-08-29 17:38:23 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:1221 https://rhn.redhat.com/errata/RHSA-2011-1221.html