Samba up to 3.0.0 smb.conf samrchangepassword privileges management

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.0$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in Samba up to 3.0.0. Affected by this vulnerability is the function samrchangepassword of the file smb.conf. The manipulation leads to privileges management. This vulnerability is listed as CVE-2007-2447. The attack may be initiated remotely. In addition, an exploit is available. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in Samba up to 3.0.0 (File Transfer Software). It has been rated as critical. This issue affects the function samrchangepassword of the file smb.conf. The manipulation with an unknown input leads to a privileges management vulnerability. Using CWE to declare the problem leads to CWE-269. The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

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.

The bug was discovered 05/13/2007. The weakness was presented 05/14/2007 as confirmed advisory (CERT.org). The advisory is shared at kb.cert.org. The identification of this vulnerability is CVE-2007-2447 since 05/02/2007. The attack may be initiated remotely. A simple authentication is required for exploitation. Technical details as well as a public exploit are known. MITRE ATT&CK project uses the attack technique T1068 for this issue.

A public exploit has been developed in Ruby. The exploit is available at securityfocus.com. It is declared as highly functional. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 82580 (Samba 3.0.0 'SamrChangePassword' RCE), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Misc. and running in the context r. The commercial vulnerability scanner Qualys is able to test this issue with plugin 185034 (HP-UX Running CIFS Server (Samba) Remote Arbitrary Code Execution Vulnerability (HPSBUX02218)).

Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 9976.

The vulnerability is also documented in the databases at X-Force (34307), Exploit-DB (16320), Tenable (82580), SecurityFocus (BID 23972†) and OSVDB (34700†). See VDB-36772, VDB-36771, VDB-85432 and VDB-85433 for similar entries. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.0

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Privileges management
CWE: CWE-269 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 82580
Nessus Name: Samba 3.0.0 'SamrChangePassword' RCE
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 58343
OpenVAS Name: Debian Security Advisory DSA 1291-2 (samba)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: usermap_script.rb
MetaSploit Name: Samba username map script Command Execution
MetaSploit File: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍
TippingPoint: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

05/02/2007 🔍
05/13/2007 +11 days 🔍
05/14/2007 +1 days 🔍
05/14/2007 +0 days 🔍
05/14/2007 +0 days 🔍
05/14/2007 +0 days 🔍
05/14/2007 +0 days 🔍
05/14/2007 +0 days 🔍
05/15/2007 +0 days 🔍
05/15/2007 +0 days 🔍
05/20/2007 +4 days 🔍
03/13/2015 +2854 days 🔍
04/06/2015 +24 days 🔍
11/05/2025 +3865 days 🔍

Sourcesinfo

Product: samba.org

Advisory: kb.cert.org
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2007-2447 (🔍)
GCVE (CVE): GCVE-0-2007-2447
GCVE (VulDB): GCVE-100-36773

OVAL: 🔍

CERT: 🔍
X-Force: 34307
SecurityFocus: 23972 - Samba MS-RPC Remote Shell Command Execution Vulnerability
Secunia: 25232
OSVDB: 34700 - Samba Unfiltered MS-RPC Calls Arbitrary Remote Command Execution
SecurityTracker: 1018051
Vulnerability Center: 15162 - Samba Commands Execution via Shell Metacharacters, High
Vupen: ADV-2007-1805

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/13/2015 14:56
Updated: 11/05/2025 00:46
Changes: 03/13/2015 14:56 (87), 07/19/2019 12:59 (13), 01/13/2025 02:26 (16), 11/05/2025 00:46 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!