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).
Severity
Not rated by the source.
Dates
Published
2011-07-29 20:55 UTC
Modified
2026-10-23 17:47 UTC
Affected packages and fixes
samba
Debian packages (deb) · Debian 12
Affected
introduced 0, fixed 2:3.5.10~dfsg-1 (ecosystem)
Fixed versions
2:3.5.10~dfsg-1
Fix
Fixed version 2:3.5.10~dfsg-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
samba
Debian packages (deb) · Debian 13
Affected
introduced 0, fixed 2:3.5.10~dfsg-1 (ecosystem)
Fixed versions
2:3.5.10~dfsg-1
Fix
Fixed version 2:3.5.10~dfsg-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
samba
Debian packages (deb) · Debian 14
Affected
introduced 0, fixed 2:3.5.10~dfsg-1 (ecosystem)
Fixed versions
2:3.5.10~dfsg-1
Fix
Fixed version 2:3.5.10~dfsg-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.