Remote code executionin CVE-2007-2447.
Weaponized: a Metasploit exploit is public.
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.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed; severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 2 May 2007CVE ID reserved by redhat.
- 14 May 2007Published in the CVE List.
- 14 May 2007Metasploit module: Samba "username map script" Command Execution.
- 3 Aug 2018First public proof of concept on GitHub.
- 4 Nov 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit).
10 proof of concept repositories on GitHub. No fix or workaround is known yet, so we count them but do not link to them.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
- security.gentoo.org vendor-advisory, x_refsource_GENTOO
- secunia.com third-party-advisory, x_refsource_SECUNIA
- lists.grok.org.uk mailing-list, x_refsource_FULLDISC
- oval.cisecurity.org vdb-entry, signature, x_refsource_OVAL
- www.xerox.com x_refsource_CONFIRM
- www.vupen.com vdb-entry, x_refsource_VUPEN
- www.vupen.com vdb-entry, x_refsource_VUPEN
- secunia.com third-party-advisory, x_refsource_SECUNIA
- www.vupen.com vdb-entry, x_refsource_VUPEN
- secunia.com third-party-advisory, x_refsource_SECUNIA
- h20000.www2.hp.com vendor-advisory, x_refsource_HP
- www.securityfocus.com mailing-list, x_refsource_BUGTRAQ
- www.openpkg.com vendor-advisory, x_refsource_OPENPKG
- secunia.com third-party-advisory, x_refsource_SECUNIA
- www.kb.cert.org third-party-advisory, x_refsource_CERT-VN
- www.securityfocus.com vdb-entry, x_refsource_BID
- lists.suse.com vendor-advisory, x_refsource_SUSE
- secunia.com third-party-advisory, x_refsource_SECUNIA
- www.securityfocus.com mailing-list, x_refsource_BUGTRAQ
- www.novell.com vendor-advisory, x_refsource_SUSE
- lists.apple.com vendor-advisory, x_refsource_APPLE
- www.vupen.com vdb-entry, x_refsource_VUPEN
- www.vupen.com vdb-entry, x_refsource_VUPEN
- h20000.www2.hp.com vendor-advisory, x_refsource_HP
- www.trustix.org vendor-advisory, x_refsource_TRUSTIX
- www.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- secunia.com third-party-advisory, x_refsource_SECUNIA
- secunia.com third-party-advisory, x_refsource_SECUNIA
- secunia.com third-party-advisory, x_refsource_SECUNIA
- www.samba.org x_refsource_CONFIRM
Patchminder. CVE-2007-2447: Remote code execution in CVE-2007-2447. https://patchminder.com/cve/cve-2007-2447/ (accessed 5 December 2026).