CVE-2011-2522

medium
Published 2011-07-29 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.8

Description

Multiple cross-site request forgery (CSRF) vulnerabilities in the Samba Web Administration Tool (SWAT) in Samba 3.x before 3.5.10 allow remote attackers to hijack the authentication of administrators for requests that (1) shut down daemons, (2) start daemons, (3) add shares, (4) remove shares, (5) add printers, (6) remove printers, (7) add user accounts, or (8) remove user accounts, as demonstrated by certain start, stop, and restart parameters to the status program.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-17577 webapps cgi verified
Narendra Shinde ยท 2011-07-27

SWAT Samba Web Administration Tool - Cross-Site Request Forgery

Source code queued for fetch โ€” refresh in a moment.

OS impact

ubuntu Ubuntu Affected 4 releases
VersionStatusFixed in
11.04 Affected โ€”
10.10 Affected โ€”
10.04 Affected โ€”
8.04 Affected โ€”
debian Debian Mixed 8 releases
VersionStatusFixed in
trixie Fixed 2:3.5.10~dfsg-1
sid Fixed 2:3.5.10~dfsg-1
forky Fixed 2:3.5.10~dfsg-1
bullseye Fixed 2:3.5.10~dfsg-1
bookworm Fixed 2:3.5.10~dfsg-1
7.0 Affected โ€”
6.0 Affected โ€”
5.0 Affected โ€”

Application impact

VendorProductVersionsFixed
sambasamba{"startIncluding":"3.0.0","endExcluding":"3.3.16"}3.3.16

References

CWEs

CWE-352

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.