Vulnerability in Samba

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.

Published · last modified .

CVSS v2 metric

CVSS v2 base score 6.0 (Medium). Vector: AV:N/AC:M/Au:S/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS 0.498, 98.9th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Samba — versions 3.0.0, 3.0.1, 3.0.2

Public exploits and proof-of-concept code

Metasploit modules

76 public repositories with exploit or proof-of-concept code for this CVE:

66 more are listed on the interactive page.

Also mentioned in 93 other repositories (0xConstant/ExploitDevJourney, 0xkasra/ExploitDevJourney, aadithya-vimal/Metasploitable2-Pentest, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References