Skip to content
OpenAdvisories
Unscored CVE-2011-2694 EUVD-2011-2675GHSA-9xqr-g3w9-82pj

Cross-site scripting (XSS) vulnerability in the chg_passwd function in web/swat.c in the Samba Web Administration Tool (SWAT) in Samba 3.x …

Published Jul 29, 2011 · Updated Aug 6, 2024 · Assigned by redhat

Description

Cross-site scripting (XSS) vulnerability in the chg_passwd function in web/swat.c in the Samba Web Administration Tool (SWAT) in Samba 3.x before 3.5.10 allows remote authenticated administrators to inject arbitrary web script or HTML via the username parameter to the passwd program (aka the user field to the Change Password page).

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 samba 2:3.5.10~dfsg-1 —
Debian 13 samba 2:3.5.10~dfsg-1 —
Debian 12 samba 2:3.5.10~dfsg-1 —
Debian 6.0 samba 2:3.5.6~dfsg-3squeeze5 DSA-2290-1
Debian 5.0 samba 2:3.2.5-4lenny15 DSA-2290-1
ReleasePackageFixed inAdvisory
RHEL 6 cifs-utils 4.8.1-2.el6_1.2 RHSA-2011:1221
RHEL 6 samba +11 3.5.6-86.el6_1.4 RHSA-2011:1221
RHEL 5 samba +5 3.0.33-3.29.el5_7.4 RHSA-2011:1219
RHEL 5 samba3x +7 3.5.4-0.83.el5_7.2 RHSA-2011:1220
RHEL 4 samba +3 3.0.33-0.34.el4 RHSA-2011:1219
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed samba 4.5.0-1.1 openSUSE-SU-2024:10069-1

Advisories 5

References