CVE-2011-2694: XSS

Published Jul 15, 2011
·
Updated

Cross-site scripting (XSS) vulnerability in the chgpasswd 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).

Other sources

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/showbug.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.

Red Hat

Affected Software

11 affected componentsFixes available
redhat/samba<3.5.10
3.5.10
Samba Samba>=3.0.0<3.3.16
Samba Samba>=3.4.0<3.4.14
Samba Samba>=3.5.0<3.5.10
Canonical Ubuntu Linux=10.10
Canonical Ubuntu Linux=11.04
Canonical Ubuntu Linux=8.04
Canonical Ubuntu Linux=10.04
Debian Debian Linux=5.0
Debian Debian Linux=7.0
Debian Debian Linux=6.0

Event History

Jul 15, 2011
Data Sourced
via Red Hat·03:32 PM
DescriptionSeverityAffected Software
Jul 29, 2011
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2011-2694?

CVE-2011-2694 is classified as a medium severity vulnerability due to its potential for cross-site scripting exploitation.

2

How do I fix CVE-2011-2694?

To fix CVE-2011-2694, upgrade Samba to version 3.5.10 or later.

3

What applications are affected by CVE-2011-2694?

CVE-2011-2694 affects Samba versions prior to 3.5.10 across various Linux distributions.

4

Is CVE-2011-2694 a remote attack vector?

Yes, CVE-2011-2694 can be exploited remotely by authenticated administrators.

5

What type of vulnerability is CVE-2011-2694?

CVE-2011-2694 is a cross-site scripting (XSS) vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203