CVE-2007-2447
The MS-RPC functionality in smbd in Samba 3.0.0 through 3.0.25rc3 allows remote attackers to execute arbitrary commands via shell…
- 6.0MediumCVSS base score
- 49.8%Exploitation in 30 daysEPSS · top 1.1% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
Description
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and an Exploit-DB entry for it.
Show the exploits2
Metasploit modules1 module
- Samba "username map script" Command Execution (Metasploit module) (opens in a new tab)
exploit/multi/samba/usermap_scriptRank excellentdisclosed 14 May 2007
Exploit-DB1 entry
- Samba 3.0.20 < 3.0.25rc3 - 'Username' map script' Command Execution (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 16320remote, unixpublished 18 Aug 2010Verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By redhat
- 12 days later
· 12 days later
Published
- 18 years later
· 18 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 49.8% · top 1.1% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.0.
Affected products
n/a
- affected n/a
References
56
- GLSA-200705-15 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- 25289 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20070920 VMSA-2007-0006 Critical security updates for all supported versions of VMware ESX Server, VMware Server, VMware Workstation, VMware ACE, and VMware Player (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- oval:org.mitre.oval:def:10062 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- http://www.xerox.com/downloads/usa/en/c/cert_XRX08_001.pdf (opens in a new tab)x_refsource_CONFIRMx_transferred
- ADV-2007-2732 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- ADV-2007-1805 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 26083 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2007-3229 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 25772 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- HPSBUX02218 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 20070513 [SAMBA-SECURITY] CVE-2007-2447: Remote Command Injection Vulnerability (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- OpenPKG-SA-2007.012 (opens in a new tab)vendor-advisoryx_refsource_OPENPKGx_transferred
- 25257 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- VU#268336 (opens in a new tab)third-party-advisoryx_refsource_CERT-VNx_transferred
- 23972 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- SUSE-SA:2007:031 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 25270 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20070515 FLEA-2007-0017-1: samba (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- SUSE-SR:2007:014 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- APPLE-SA-2007-07-31 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- ADV-2007-2281 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- ADV-2007-2210 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- HPSBTU02218 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 2007-0017 (opens in a new tab)vendor-advisoryx_refsource_TRUSTIXx_transferred
- USN-460-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 25567 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 25241 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 28292 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.samba.org/samba/security/CVE-2007-2447.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- MDKSA-2007:104 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 25256 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://issues.rpath.com/browse/RPL-1366 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 25259 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- SSA:2007-134-01 (opens in a new tab)vendor-advisoryx_refsource_SLACKWAREx_transferred
- 34700 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- 102964 (opens in a new tab)vendor-advisoryx_refsource_SUNALERTx_transferred
- 20070514 Samba SAMR Change Password Remote Command Injection Vulnerability (opens in a new tab)third-party-advisoryx_refsource_IDEFENSEx_transferred
- 26909 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2008-0050 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 27706 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- DSA-1291 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 1018051 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- http://docs.info.apple.com/article.html?artnum=306172 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 2700 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- 25232 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 25251 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 200588 (opens in a new tab)vendor-advisoryx_refsource_SUNALERTx_transferred
- 25246 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 25159 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 25255 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- RHSA-2007:0354 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 26235 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 25675 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2007-2079 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://www.openwall.com/lists/oss-security/2025/10/16/2 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2007-2442 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2007-2447)Record last updated .