CVE-2011-2522
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
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 withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
SWAT Samba Web Administration Tool - Cross-Site Request Forgery
OS impact
Ubuntu Affected 4 releases
| Version | Status | Fixed in |
|---|---|---|
| 11.04 | Affected | โ |
| 10.10 | Affected | โ |
| 10.04 | Affected | โ |
| 8.04 | Affected | โ |
Debian Mixed 8 releases
| Version | Status | Fixed 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
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| samba | samba | {"startIncluding":"3.0.0","endExcluding":"3.3.16"} | 3.3.16 |
References
- http://jvn.jp/en/jp/JVN29529126/index.html
- http://marc.info/?l=bugtraq&m=133527864025056&w=2
- http://osvdb.org/74071
- http://samba.org/samba/history/samba-3.5.10.html
- http://secunia.com/advisories/45393
- http://secunia.com/advisories/45488
- http://secunia.com/advisories/45496
- http://securityreason.com/securityalert/8317
- http://securitytracker.com/id?1025852
- http://ubuntu.com/usn/usn-1182-1
- http://www.debian.org/security/2011/dsa-2290
- http://www.exploit-db.com/exploits/17577
- http://www.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c03008543
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:121
- http://www.samba.org/samba/security/CVE-2011-2522
- http://www.securityfocus.com/bid/48899
- https://bugzilla.redhat.com/show_bug.cgi?id=721348
- https://bugzilla.samba.org/show_bug.cgi?id=8290
- https://exchange.xforce.ibmcloud.com/vulnerabilities/68843
- https://security-tracker.debian.org/tracker/CVE-2011-2522
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.