Skip to content
OpenAdvisories
Unscored Public exploit CVE-2011-2522 EUVD-2011-2507GHSA-5cxg-6999-xfwq

Multiple cross-site request forgery (CSRF) vulnerabilities in the Samba Web Administration Tool (SWAT) in Samba 3.x before 3.5.10 allow rem…

Published Jul 29, 2011 · Updated Aug 6, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 samba 2:3.5.10~dfsg-1 —
Debian 13 samba 2:3.5.10~dfsg-1 —
Debian 12 samba 2:3.5.10~dfsg-1 —
Debian 6.0 samba 2:3.5.6~dfsg-3squeeze5 DSA-2290-1
Debian 5.0 samba 2:3.2.5-4lenny15 DSA-2290-1
ReleasePackageFixed inAdvisory
RHEL 6 cifs-utils 4.8.1-2.el6_1.2 RHSA-2011:1221
RHEL 6 samba +11 3.5.6-86.el6_1.4 RHSA-2011:1221
RHEL 5 samba +5 3.0.33-3.29.el5_7.4 RHSA-2011:1219
RHEL 5 samba3x +7 3.5.4-0.83.el5_7.2 RHSA-2011:1220
RHEL 4 samba +3 3.0.33-0.34.el4 RHSA-2011:1219
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed samba 4.5.0-1.1 openSUSE-SU-2024:10069-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 5

References