Bug 722537 (CVE-2011-2694)

Summary: CVE-2011-2694 samba (SWAT): XSS flaw in Change Password page
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:37 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-15 15:32:21 UTC
It was found that the 'Change Password' page / screen of the Samba Web Administration Tool did not properly sanitize content of the user-provided
"user" field, prior printing it back to the page content. A remote attacker could provide a specially-crafted URL, which once visited by an authenticated Samba SWAT user could allow the attacker to conduct cross-site scripting attacks (execute arbitrary HTML or script code).

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 Nobuhiro Tsuji of NTT DATA SECURITY CORPORATION as the original reporter.

Comment 1 Jan Lieskovsky 2011-07-15 15:34:16 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 10 Vincent Danen 2011-07-26 21:08:57 UTC
Created samba tracking bugs for this issue

Affects: fedora-all [bug 725890]

Comment 11 errata-xmlrpc 2011-08-29 17:27:26 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 12 errata-xmlrpc 2011-08-29 17:27:49 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 13 errata-xmlrpc 2011-08-29 17:38:25 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