Original 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).
Affected software
- Samba ≥ 3.5.0 < 3.5.10≥ 3.4.0 < 3.4.14≥ 3.0.0 < 3.3.16 Fixed in: 3.5.10, 3.4.14, 3.3.16 exact match
Details
- Published
- 2011-07-29
- Last modified
- 2026-06-16
- CVSS vector
AV:N/AC:H/Au:N/C:N/I:P/A:N- CWE
- CWE-79
- EPSS (30-day exploit probability)
- 6.05% (percentile 93)
References
- cve.org/CVE-2011-2694
- nvd.nist.gov/vuln/detail/CVE-2011-2694
- jvn.jp/en/jp/JVN63041502/index.html
- osvdb.org/74072
- samba.org/samba/history/samba-3.5.10.html
- secunia.com/advisories/45393
- secunia.com/advisories/45488
- secunia.com/advisories/45496
- securitytracker.com/id?1025852
- ubuntu.com/usn/usn-1182-1
- www.debian.org/security/2011/dsa-2290
- www.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c03008543
- www.mandriva.com/security/advisories?name=MDVSA-2011:121
- www.samba.org/samba/security/CVE-2011-2694
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.