Skip to content
Noroxi
CVE-2007-2447· NVD / CVE Program· CNA redhat

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.

MediumCVSS 6.0 · v2.0—Weaponized Fix available
Published
May 14, 2007
Updated
Jun 16, 2026
EPSS
49.8% · 99th percentile
CWE
—
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

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

VendorProduct
sambasamba

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.

EcosystemPackageAffected rangeFix
Debian:12sambabefore 3.0.25-13.0.25-1
Debian:3.1sambabefore 3.0.14a-3sarge63.0.14a-3sarge6
Debian:4.0sambabefore 3.0.24-6etch23.0.24-6etch2
Debian:5.0sambabefore 3.0.24-6+lenny33.0.24-6+lenny3
openSUSE:Tumbleweedcifs-utilsbefore 6.13-1.36.13-1.3
openSUSE:Tumbleweedsambabefore 4.14.6+git.182.2205d5224e3-1.14.14.6+git.182.2205d5224e3-1.1
Red Hat:enterprise_linux:2.1::assambabefore 0:2.2.12-1.21as.60:2.2.12-1.21as.6
Red Hat:enterprise_linux:2.1::assamba-clientbefore 0:2.2.12-1.21as.60:2.2.12-1.21as.6
Red Hat:enterprise_linux:2.1::assamba-commonbefore 0:2.2.12-1.21as.60:2.2.12-1.21as.6
Red Hat:enterprise_linux:2.1::assamba-swatbefore 0:2.2.12-1.21as.60:2.2.12-1.21as.6
Red Hat:enterprise_linux:3::assambabefore 0:3.0.9-1.3E.13.20:3.0.9-1.3E.13.2
Red Hat:enterprise_linux:3::assamba-clientbefore 0:3.0.9-1.3E.13.20:3.0.9-1.3E.13.2
Red Hat:enterprise_linux:3::assamba-commonbefore 0:3.0.9-1.3E.13.20:3.0.9-1.3E.13.2
Red Hat:enterprise_linux:3::assamba-debuginfobefore 0:3.0.9-1.3E.13.20:3.0.9-1.3E.13.2
Red Hat:enterprise_linux:3::assamba-swatbefore 0:3.0.9-1.3E.13.20:3.0.9-1.3E.13.2
Red Hat:enterprise_linux:4::assambabefore 0:3.0.10-1.4E.12.20:3.0.10-1.4E.12.2
Red Hat:enterprise_linux:4::assamba-clientbefore 0:3.0.10-1.4E.12.20:3.0.10-1.4E.12.2
Red Hat:enterprise_linux:4::assamba-commonbefore 0:3.0.10-1.4E.12.20:3.0.10-1.4E.12.2
Red Hat:enterprise_linux:4::assamba-debuginfobefore 0:3.0.10-1.4E.12.20:3.0.10-1.4E.12.2
Red Hat:enterprise_linux:4::assamba-swatbefore 0:3.0.10-1.4E.12.20:3.0.10-1.4E.12.2
Red Hat:enterprise_linux:5::clientsambabefore 0:3.0.23c-2.el5.2.0.20:3.0.23c-2.el5.2.0.2
Red Hat:enterprise_linux:5::clientsamba-clientbefore 0:3.0.23c-2.el5.2.0.20:3.0.23c-2.el5.2.0.2
Red Hat:enterprise_linux:5::clientsamba-commonbefore 0:3.0.23c-2.el5.2.0.20:3.0.23c-2.el5.2.0.2
Red Hat:enterprise_linux:5::clientsamba-debuginfobefore 0:3.0.23c-2.el5.2.0.20:3.0.23c-2.el5.2.0.2

+1

Other 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 cliKEV
    99Now
  • 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 befor
    66This 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, al
    66This 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 arbitrary
    63This 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 len
    62This 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 / packageFixed versionSource
debian:samba3.0.25-1 · Debian:12Package registry (OSV)
opensuse:cifs-utils6.13-1.3 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:samba4.14.6+git.182.2205d5224e3-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:samba0:2.2.12-1.21as.6 · Red Hat:enterprise_linux:2.1::asPackage registry (OSV)
red hat:samba-client0:2.2.12-1.21as.6 · Red Hat:enterprise_linux:2.1::asPackage registry (OSV)
red hat:samba-common0:2.2.12-1.21as.6 · Red Hat:enterprise_linux:2.1::asPackage registry (OSV)
red hat:samba-debuginfo0:3.0.9-1.3E.13.2 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:samba-swat0:2.2.12-1.21as.6 · Red Hat:enterprise_linux:2.1::asPackage 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.

Public exploit evidence
SourceKindDate
Exploit-DB entryremote2010-08-18
Metasploit moduleexploit/multi/samba/usermap_scriptSamba "username map script" Command Executionexploit2007-05-14
Proof-of-concept repository on GitHubstars:02025-12-23
Proof-of-concept repository on GitHubstars:12026-01-04
Proof-of-concept repository on GitHubstars:612018-08-03
Proof-of-concept repository on GitHubstars:42019-07-05
Proof-of-concept repository on GitHubstars:02019-09-30
Proof-of-concept repository on GitHubstars:12020-01-20
Proof-of-concept repository on GitHubstars:12020-04-22
Proof-of-concept repository on GitHubstars:02020-12-06
Proof-of-concept repository on GitHubstars:02020-12-09
Proof-of-concept repository on GitHubstars:32021-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.

  1. Metasploit-1 d
  2. Published
  3. First PoC+1191 d
  4. TodaySep 30, 2026+7079 d
EPSS, last 120 days

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.

Finders, 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 help

    Change log

    1. Fix✗ → ✓

    For records you follow, these changes also arrive as notifications. →

    References

    All records