BreachSpiderVerified, not vibes

CVE-2011-2522 in Canonical Ubuntu Linux and 2 more products

Medium 6.8 Public exploit reported

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) ...

Affects 3 products from 3 vendors. Facts below cite their sources.

CVSS 2.06.8
EPSS10.6%
EPSS percentile97th
FixSee advisory

Remotely exploitable over the network.

Affected products and versions

VendorProductAffected versions
Canonical Ubuntu Linux 8.04 10.04 10.10 11.04
Debian Debian Linux 5.0 6.0 7.0
Samba Samba ≥ 3.0.0, < 3.3.16 ≥ 3.4.0, < 3.4.14 ≥ 3.5.0, < 3.5.10

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2011-2522
BreachSpider IDBS-2011-GLOBAL-156572-M
CVSS vectorAV:N/AC:M/Au:N/C:P/I:P/A:P
Published2011-07-29
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-352: Cross-Site Request Forgery (CSRF)

Web application does not verify that a request was intentionally sent by the authenticated user.

Related attack patterns (CAPEC)

CAPEC-462 Cross-Domain Search Timing via CWE-352

CAPEC-467 Cross Site Identification via CWE-352

CAPEC-62 Cross Site Request Forgery via CWE-352

CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) via CWE-352

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2011. A medium severity vulnerability affects Canonical systems (CVE-2011-2522). Public exploit code is available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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. CVSS vector: AV:N/AC:M/Au:N/C:P/I:P/A:P.

Questions

What is CVE-2011-2522?

This vulnerability was disclosed in 2011. A medium severity vulnerability affects Canonical systems (CVE-2011-2522). Public exploit code is available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2011-2522?

CVE-2011-2522 has CVSS 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. EPSS: 10.6%.

Is CVE-2011-2522 actively exploited?

Public exploit available for CVE-2011-2522. Exploitation risk elevated.

How do I remediate CVE-2011-2522?

Priority: MONITOR. Advisory: http://samba.org/samba/history/samba-3.5.10.html

What systems are affected by CVE-2011-2522?

CVE-2011-2522 affects Canonical Ubuntu Linux; Debian Debian Linux; Samba Samba.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.