The MS-RPC functionality in smbd in Samba 3.0.0 through 3.0.25rc3 allows remote attackers to execute arbitrary commands via shell metacharac
The MS-RPC functionality in smbd in Samba 3.0.0 through 3.0.25rc3 allows remote attackers to execute arbitrary commands via shell metacharacters involving the (1) SamrChangePassword function, when the "username map script" smb.conf option is enabled, and allows remote authenticated users to execute commands via shell metacharacters involving other MS-RPC functions in the (2) remote printer and (3) file share management.
- Published
- May 14, 2007
- Updated
- Jun 16, 2026
- EPSS
- 49.8% · 99th percentile
- CWE
- —
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
39
Monitor
Low priority for now.
- CVSS
- 24 / 40 · 6.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 15 / 30 · 49.8%
Affected systems
| 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 3.0.25-1 | 3.0.25-1 |
| Debian:3.1 | samba | before 3.0.14a-3sarge6 | 3.0.14a-3sarge6 |
| Debian:4.0 | samba | before 3.0.24-6etch2 | 3.0.24-6etch2 |
| Debian:5.0 | samba | before 3.0.24-6+lenny3 | 3.0.24-6+lenny3 |
| openSUSE:Tumbleweed | cifs-utils | before 6.13-1.3 | 6.13-1.3 |
| openSUSE:Tumbleweed | samba | before 4.14.6+git.182.2205d5224e3-1.1 | 4.14.6+git.182.2205d5224e3-1.1 |
| Red Hat:enterprise_linux:2.1::as | samba | before 0:2.2.12-1.21as.6 | 0:2.2.12-1.21as.6 |
| Red Hat:enterprise_linux:2.1::as | samba-client | before 0:2.2.12-1.21as.6 | 0:2.2.12-1.21as.6 |
| Red Hat:enterprise_linux:2.1::as | samba-common | before 0:2.2.12-1.21as.6 | 0:2.2.12-1.21as.6 |
| Red Hat:enterprise_linux:2.1::as | samba-swat | before 0:2.2.12-1.21as.6 | 0:2.2.12-1.21as.6 |
| Red Hat:enterprise_linux:3::as | samba | before 0:3.0.9-1.3E.13.2 | 0:3.0.9-1.3E.13.2 |
| Red Hat:enterprise_linux:3::as | samba-client | before 0:3.0.9-1.3E.13.2 | 0:3.0.9-1.3E.13.2 |
| Red Hat:enterprise_linux:3::as | samba-common | before 0:3.0.9-1.3E.13.2 | 0:3.0.9-1.3E.13.2 |
| Red Hat:enterprise_linux:3::as | samba-debuginfo | before 0:3.0.9-1.3E.13.2 | 0:3.0.9-1.3E.13.2 |
| Red Hat:enterprise_linux:3::as | samba-swat | before 0:3.0.9-1.3E.13.2 | 0:3.0.9-1.3E.13.2 |
| Red Hat:enterprise_linux:4::as | samba | before 0:3.0.10-1.4E.12.2 | 0:3.0.10-1.4E.12.2 |
| Red Hat:enterprise_linux:4::as | samba-client | before 0:3.0.10-1.4E.12.2 | 0:3.0.10-1.4E.12.2 |
| Red Hat:enterprise_linux:4::as | samba-common | before 0:3.0.10-1.4E.12.2 | 0:3.0.10-1.4E.12.2 |
| Red Hat:enterprise_linux:4::as | samba-debuginfo | before 0:3.0.10-1.4E.12.2 | 0:3.0.10-1.4E.12.2 |
| Red Hat:enterprise_linux:4::as | samba-swat | before 0:3.0.10-1.4E.12.2 | 0:3.0.10-1.4E.12.2 |
| Red Hat:enterprise_linux:5::client | samba | before 0:3.0.23c-2.el5.2.0.2 | 0:3.0.23c-2.el5.2.0.2 |
| Red Hat:enterprise_linux:5::client | samba-client | before 0:3.0.23c-2.el5.2.0.2 | 0:3.0.23c-2.el5.2.0.2 |
| Red Hat:enterprise_linux:5::client | samba-common | before 0:3.0.23c-2.el5.2.0.2 | 0:3.0.23c-2.el5.2.0.2 |
| Red Hat:enterprise_linux:5::client | samba-debuginfo | before 0:3.0.23c-2.el5.2.0.2 | 0:3.0.23c-2.el5.2.0.2 |
+1
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
- CVE-2003-0201Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before 2.2.8a, 2.0.10 and earlier 2.0.x versions, and Samba-TNG 65This week
- CVE-2007-2446Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through 3.0.25rc3 allow remote attackers to execute arbitrary63This week
- CVE-2012-1182The RPC code generator in Samba 3.x before 3.4.16, 3.5.x before 3.5.14, and 3.6.x before 3.6.4 does not implement validation of an array len62This week
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 | 3.0.25-1 · Debian:12 | Package registry (OSV) |
| opensuse:cifs-utils | 6.13-1.3 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:samba | 4.14.6+git.182.2205d5224e3-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:samba | 0:2.2.12-1.21as.6 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:samba-client | 0:2.2.12-1.21as.6 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:samba-common | 0:2.2.12-1.21as.6 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:samba-debuginfo | 0:3.0.9-1.3E.13.2 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:samba-swat | 0:2.2.12-1.21as.6 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Exploit-DB entry ×1
- Proof-of-concept repository on GitHub ×43
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | remote | 2010-08-18 |
| Metasploit module | exploit/multi/samba/usermap_scriptSamba "username map script" Command Executionexploit | 2007-05-14 |
| Proof-of-concept repository on GitHub | stars:0 | 2025-12-23 |
| Proof-of-concept repository on GitHub | stars:1 | 2026-01-04 |
| Proof-of-concept repository on GitHub | stars:61 | 2018-08-03 |
| Proof-of-concept repository on GitHub | stars:4 | 2019-07-05 |
| Proof-of-concept repository on GitHub | stars:0 | 2019-09-30 |
| Proof-of-concept repository on GitHub | stars:1 | 2020-01-20 |
| Proof-of-concept repository on GitHub | stars:1 | 2020-04-22 |
| Proof-of-concept repository on GitHub | stars:0 | 2020-12-06 |
| Proof-of-concept repository on GitHub | stars:0 | 2020-12-09 |
| Proof-of-concept repository on GitHub | stars:3 | 2021-02-22 |
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.
- Metasploit-1 d
- Published
- First PoC+1191 d
- TodaySep 30, 2026+7079 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
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
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
- M
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
—
CVSS vector
AV:N/AC:M/Au:S/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- docs.info.apple.com/article.html?artnum=306172
- h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01067768
- h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01078980
- labs.idefense.com/intelligence/vulnerabilities/display.php?id=534
- lists.apple.com/archives/security-announce//2007/Jul/msg00004.html
- lists.grok.org.uk/pipermail/full-disclosure/2007-September/065902.html
- lists.suse.com/archive/suse-security-announce/2007-May/0006.html
- secunia.com/advisories/25232
- secunia.com/advisories/25241
- secunia.com/advisories/25246
- secunia.com/advisories/25251
- secunia.com/advisories/25255
- secunia.com/advisories/25256
- secunia.com/advisories/25257
- secunia.com/advisories/25259
- secunia.com/advisories/25270
- secunia.com/advisories/25289
- secunia.com/advisories/25567
- secunia.com/advisories/25675
- secunia.com/advisories/25772
Vendor advisories and official records. Exploit/PoC links are deliberately left out.