the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : 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 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.
Publish Date : 2007-05-14 Last Update Date : 2018-10-16
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Single system (The vulnerability requires an attacker to be logged into the system (such as at a command line or via a desktop session or web interface).)
Gained Access User
Vulnerability Type(s) Execute Code
CWE ID CWE id is not defined for this vulnerability

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat important 2007-05-07 2007-05-14
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @

- Related OVAL Definitions

Title Definition Id Class Family
CVE-2007-2447 unix
DSA-1291-2 samba oval:org.mitre.oval:def:20051 unix
ELSA-2007:0354: samba security update (Critical) oval:org.mitre.oval:def:22405 unix
RHSA-2007:0354: samba security update (Critical) oval:com.redhat.rhsa:def:20070354 unix
The MS-RPC functionality in smbd in Samba 3.0.0 through 3.0.25rc3 allows remote attackers to execute arbitrary commands ... oval:org.mitre.oval:def:10062 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2007-2447

# Product Type Vendor Product Version Update Edition Language
1 Application Samba Samba 3.0.0 Version Details Vulnerabilities
2 Application Samba Samba 3.0.1 Version Details Vulnerabilities
3 Application Samba Samba 3.0.2 Version Details Vulnerabilities
4 Application Samba Samba 3.0.2a Version Details Vulnerabilities
5 Application Samba Samba 3.0.3 Version Details Vulnerabilities
6 Application Samba Samba 3.0.4 Version Details Vulnerabilities
7 Application Samba Samba 3.0.4 RC1 Version Details Vulnerabilities
8 Application Samba Samba 3.0.5 Version Details Vulnerabilities
9 Application Samba Samba 3.0.6 Version Details Vulnerabilities
10 Application Samba Samba 3.0.7 Version Details Vulnerabilities
11 Application Samba Samba 3.0.8 Version Details Vulnerabilities
12 Application Samba Samba 3.0.9 Version Details Vulnerabilities
13 Application Samba Samba 3.0.10 Version Details Vulnerabilities
14 Application Samba Samba 3.0.11 Version Details Vulnerabilities
15 Application Samba Samba 3.0.12 Version Details Vulnerabilities
16 Application Samba Samba 3.0.13 Version Details Vulnerabilities
17 Application Samba Samba 3.0.14 Version Details Vulnerabilities
18 Application Samba Samba 3.0.14a Version Details Vulnerabilities
19 Application Samba Samba 3.0.15 Version Details Vulnerabilities
20 Application Samba Samba 3.0.16 Version Details Vulnerabilities
21 Application Samba Samba 3.0.17 Version Details Vulnerabilities
22 Application Samba Samba 3.0.18 Version Details Vulnerabilities
23 Application Samba Samba 3.0.19 Version Details Vulnerabilities
24 Application Samba Samba 3.0.20b Version Details Vulnerabilities
25 Application Samba Samba 3.0.20 Version Details Vulnerabilities
26 Application Samba Samba 3.0.20a Version Details Vulnerabilities
27 Application Samba Samba 3.0.21 Version Details Vulnerabilities
28 Application Samba Samba 3.0.21a Version Details Vulnerabilities
29 Application Samba Samba 3.0.21b Version Details Vulnerabilities
30 Application Samba Samba 3.0.21c Version Details Vulnerabilities
31 Application Samba Samba 3.0.22 Version Details Vulnerabilities
32 Application Samba Samba 3.0.23 Version Details Vulnerabilities
33 Application Samba Samba 3.0.23a Version Details Vulnerabilities
34 Application Samba Samba 3.0.23b Version Details Vulnerabilities
35 Application Samba Samba 3.0.23c Version Details Vulnerabilities
36 Application Samba Samba 3.0.23d Version Details Vulnerabilities
37 Application Samba Samba 3.0.24 Version Details Vulnerabilities
38 Application Samba Samba 3.0.25 RC3 Version Details Vulnerabilities
39 Application Samba Samba 3.0.25 Pre1 Version Details Vulnerabilities
40 Application Samba Samba 3.0.25 Pre2 Version Details Vulnerabilities
41 Application Samba Samba 3.0.25 RC1 Version Details Vulnerabilities
42 Application Samba Samba 3.0.25 RC2 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Samba Samba 42

- References For CVE-2007-2447 CONFIRM
VUPEN ADV-2007-2079
VUPEN ADV-2007-2210
VUPEN ADV-2007-2281
VUPEN ADV-2008-0050
VUPEN ADV-2007-3229
TRUSTIX 2007-0017
VUPEN ADV-2007-1805
SECTRACK 1018051
BID 23972 Samba MS-RPC Remote Shell Command Execution Vulnerability Release Date:2010-02-17
BID 25159 Apple Mac OS X 2007-007 Multiple Security Vulnerabilities Release Date:2007-08-08
BUGTRAQ 20070515 FLEA-2007-0017-1: samba
BUGTRAQ 20070513 [SAMBA-SECURITY] CVE-2007-2447: Remote Command Injection Vulnerability
OPENPKG OpenPKG-SA-2007.012
SUSE SUSE-SR:2007:014
CERT-VN VU#268336
SLACKWARE SSA:2007-134-01
GENTOO GLSA-200705-15
SUSE SUSE-SA:2007:031
FULLDISC 20070920 VMSA-2007-0006 Critical security updates for all supported versions of VMware ESX Server, VMware Server, VMware Workstation, VMware ACE, and VMware Player
APPLE APPLE-SA-2007-07-31
IDEFENSE 20070514 Samba SAMR Change Password Remote Command Injection Vulnerability

- Metasploit Modules Related To CVE-2007-2447

Samba "username map script" Command Execution
This module exploits a command execution vulnerability in Samba versions 3.0.20 through 3.0.25rc3 when using the non-default "username map script" configuration option. By specifying a username containing shell meta characters, attackers can execute arbitrary commands. No authentication is needed to exploit this vulnerability since this option is used to map usernames prior to authentication!
Module type : exploit Rank : excellent Platforms : Unix

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.