CVE-2013-0214: Cross-site request forgery (CSRF) vulnerability in the Samba Web Administration Tool (SWAT) in Samba 3.x before 3.5.21, 3.6.x before 3.6.12,
Noroxi assessment
Priority: Monitor (action score 21/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.9% (FIRST EPSS); higher than 79.6% of all records.
- Special conditions such as timing or configuration are required.
- Fixed version: samba (Debian:12) 2:3.6.6-5; samba (Debian:6.0) 2:3.5.6~dfsg-3squeeze9; libsmbclient (Red Hat:enterprise_linux:5::client) 0:3.0.33-3.40.el5_10.
Low priority for now. Upgrade to samba (Debian:12) 2:3.6.6-5; samba (Debian:6.0) 2:3.5.6~dfsg-3squeeze9; libsmbclient (Red Hat:enterprise_linux:5::client) 0:3.0.33-3.40.el5_10 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Cross-site request forgery (CSRF) vulnerability in the Samba Web Administration Tool (SWAT) in Samba 3.x before 3.5.21, 3.6.x before 3.6.12, and 4.x before 4.0.2 allows remote attackers to hijack the authentication of arbitrary users by leveraging knowledge of a password and composing requests that perform SWAT actions.
- Published
- Feb 2, 2013
- Updated
- Jun 16, 2026
- EPSS
- 1.9% · 79th percentile
- CWE
- CWE-352
Report tools
Action score
21
Monitor
Low priority for now.
- CVSS
- 20 / 40 · 5.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.9%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| samba | samba | cpe:2.3:a:samba:samba |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- samba samba3.0.0
- samba samba3.0.1
- samba samba3.0.10
- samba samba3.0.11
- samba samba3.0.12
- samba samba3.0.13
- samba samba3.0.14
- samba samba3.0.14a
- samba samba3.0.15
- samba samba3.0.16
- samba samba3.0.17
- samba samba3.0.18
- samba samba3.0.19
- samba samba3.0.2
- samba samba3.0.20
- samba samba3.0.20a
- samba samba3.0.20b
- samba samba3.0.21
- samba samba3.0.21a
- samba samba3.0.21b
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | samba | before 2:3.6.6-5 | 2:3.6.6-5 |
| Debian:6.0 | samba | before 2:3.5.6~dfsg-3squeeze9 | 2:3.5.6~dfsg-3squeeze9 |
| Red Hat:enterprise_linux:5::client | libsmbclient | before 0:3.0.33-3.40.el5_10 | 0:3.0.33-3.40.el5_10 |
| Red Hat:enterprise_linux:5::client | samba | before 0:3.0.33-3.40.el5_10 | 0:3.0.33-3.40.el5_10 |
| Red Hat:enterprise_linux:5::client | samba-client | before 0:3.0.33-3.40.el5_10 | 0:3.0.33-3.40.el5_10 |
| Red Hat:enterprise_linux:5::client | samba-common | before 0:3.0.33-3.40.el5_10 | 0:3.0.33-3.40.el5_10 |
| Red Hat:enterprise_linux:5::client | samba-debuginfo | before 0:3.0.33-3.40.el5_10 | 0:3.0.33-3.40.el5_10 |
| Red Hat:enterprise_linux:5::client | samba-swat | before 0:3.0.33-3.40.el5_10 | 0:3.0.33-3.40.el5_10 |
| Red Hat:enterprise_linux:5::client | samba3x-client | before 0:3.6.6-0.136.el5 | 0:3.6.6-0.136.el5 |
| Red Hat:enterprise_linux:5::client | samba3x-common | before 0:3.6.6-0.136.el5 | 0:3.6.6-0.136.el5 |
| Red Hat:enterprise_linux:5::client | samba3x-doc | before 0:3.6.6-0.136.el5 | 0:3.6.6-0.136.el5 |
| Red Hat:enterprise_linux:5::client | samba3x-domainjoin-gui | before 0:3.6.6-0.136.el5 | 0:3.6.6-0.136.el5 |
| Red Hat:enterprise_linux:5::client | samba3x-swat | before 0:3.6.6-0.136.el5 | 0:3.6.6-0.136.el5 |
| Red Hat:enterprise_linux:5::client | samba3x-winbind | before 0:3.6.6-0.136.el5 | 0:3.6.6-0.136.el5 |
| Red Hat:enterprise_linux:5::client_workstation | libsmbclient-devel | before 0:3.0.33-3.40.el5_10 | 0:3.0.33-3.40.el5_10 |
| Red Hat:enterprise_linux:5::client_workstation | samba3x | before 0:3.6.6-0.136.el5 | 0:3.6.6-0.136.el5 |
| Red Hat:enterprise_linux:5::client_workstation | samba3x-debuginfo | before 0:3.6.6-0.136.el5 | 0:3.6.6-0.136.el5 |
| Red Hat:enterprise_linux:5::client_workstation | samba3x-winbind-devel | before 0:3.6.6-0.136.el5 | 0:3.6.6-0.136.el5 |
| Red Hat:enterprise_linux:6::client | libsmbclient | before 0:3.6.9-164.el6 | 0:3.6.9-164.el6 |
| Red Hat:enterprise_linux:6::client | libsmbclient-devel | before 0:3.6.9-164.el6 | 0:3.6.9-164.el6 |
| Red Hat:enterprise_linux:6::client | samba | before 0:3.6.9-164.el6 | 0:3.6.9-164.el6 |
| Red Hat:enterprise_linux:6::client | samba-client | before 0:3.6.9-164.el6 | 0:3.6.9-164.el6 |
| Red Hat:enterprise_linux:6::client | samba-common | before 0:3.6.9-164.el6 | 0:3.6.9-164.el6 |
| Red Hat:enterprise_linux:6::client | samba-debuginfo | before 0:3.6.9-164.el6 | 0:3.6.9-164.el6 |
+7
Same product
samba: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7494Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious cliKEV99Now
- CVE-2015-0240The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x befor66This week
- CVE-2003-0085Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1, al66This week
Published before and after this one in the same product
- ← EarlierCVE-2013-0172Jan 17, 2013 · Samba 4.0.x before 4.0.1, in certain Active Directory domain-controller configurations, does not properly interpret Access Control Entries t15Monitor
- ← EarlierCVE-2013-0213Feb 2, 2013 · The Samba Web Administration Tool (SWAT) in Samba 3.x before 3.5.21, 3.6.x before 3.6.12, and 4.x before 4.0.2 allows remote attackers to co21Monitor
- Later →CVE-2013-1863Mar 19, 2013 · Samba 4.x before 4.0.4, when configured as an Active Directory domain controller, uses world-writable permissions on non-default CIFS shares25Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:samba | 2:3.6.6-5 · Debian:12 | Package registry (OSV) |
| red hat:libsmbclient-devel | 0:3.6.9-164.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba | 0:3.6.9-164.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-debuginfo | 0:3.6.9-164.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba3x | 0:3.6.6-0.136.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:samba3x-client | 0:3.6.6-0.136.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-common | 0:3.6.6-0.136.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-debuginfo | 0:3.6.6-0.136.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:samba3x-doc | 0:3.6.6-0.136.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-domainjoin-gui | 0:3.6.6-0.136.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-swat | 0:3.6.6-0.136.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-winbind | 0:3.6.6-0.136.el5 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-winbind-devel | 0:3.6.6-0.136.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- High
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-352 · Cross-Site Request Forgery (CSRF)CVSS vector
AV:N/AC:H/Au:N/C:P/I:P/A:P
nvd-primary
Root cause
State-changing requests rely on the session cookie the browser sends automatically; nothing verifies that the request came from the user’s own page.
The bug in code
The whole CWE-352 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
app.use(session({ cookie: { httpOnly: true } }));
app.post("/account/address", updateAddress);Fixed
app.use(session({ cookie: { httpOnly: true, sameSite: "lax" } }));
app.post("/account/address", csrfProtection, updateAddress);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (12 more)Show less
- lists.opensuse.org/opensuse-security-announce/2013-03/msg00042.html
- lists.opensuse.org/opensuse-updates/2013-02/msg00029.html
- lists.opensuse.org/opensuse-updates/2013-02/msg00033.html
- osvdb.org/89627
- rhn.redhat.com/errata/RHSA-2013-1310.html
- rhn.redhat.com/errata/RHSA-2013-1542.html
- rhn.redhat.com/errata/RHSA-2014-0305.html
- www.debian.org/security/2013/dsa-2617
- www.samba.org/samba/security/CVE-2013-0214
- www.securityfocus.com/bid/57631
- www.ubuntu.com/usn/USN-2922-1
- h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05115993
Vendor advisories and official records. Exploit/PoC links are deliberately left out.