SecurityContext

CVE-2007-2447: Samba - Command Injection

  • Cve: CVE-2007-2447
  • Name: Samba - Command Injection
  • 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.
  • Impact: Remote attackers can execute arbitrary commands on the server, potentially leading to full system compromise.
  • Remediation: Update to Samba 3.0.26 or later versions.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs to be authenticated and username map script enabled
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6
  • Cvss vector: CVSS:2.0/AV:N/AC:M/Au:S/C:P/I:P/A:P
  • Epss score: 0.49759
  • Epss percentile: 0.98925
  • Assignee: [email protected]
  • Published at: 2007-05-14T21:19:00Z
  • Age in days: 7134
  • Modified at: 2026-06-16T22:39:37Z
  • Patch available: yes
  • Public exploits total: 46
  • References total: 56
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2007-2447
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
NVD-CWE-Other—

Public exploits

Same in every row:

  • Source: poc-in-github
UrlAdded date
https://github.com/xsmorl/samba-usermap-script-exploit2026-11-10
https://github.com/malredfan/metasploitable2-pentest2026-10-06
https://github.com/rushikesh-a-bhujbal/CVE-2007-24472026-09-25
https://github.com/ddiazcr/home-soc-lab2026-09-23
https://github.com/ronankongala/metasploit-pentest-report2026-08-29

References

Same in every row:

  • Source: nvd
UrlTags
http://www.samba.org/samba/security/CVE-2007-2447.htmlPatch, Vendor Advisory
http://secunia.com/advisories/25232Vendor Advisory
http://secunia.com/advisories/25241Vendor Advisory
http://secunia.com/advisories/25246Vendor Advisory
http://secunia.com/advisories/25251Vendor Advisory
http://secunia.com/advisories/25255Vendor Advisory
http://secunia.com/advisories/25256Vendor Advisory
http://secunia.com/advisories/25257Vendor Advisory
http://secunia.com/advisories/25259Vendor Advisory
http://secunia.com/advisories/25270Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
samba:samba= 3.0.25 pre1, = 3.0.25 pre2, = 3.0.25 rc1, = 3.0.25 rc2, = 3.0.25 rc3, = 3.0.24, = 3.0.23, = 3.0.23a, = 3.0.23b, = 3.0.23c, = 3.0.23d, = 3.0.22, = 3.0.21, = 3.0.21a, = 3.0.21b, = 3.0.21c, = 3.0.20, = 3.0.20a, = 3.0.20b, = 3.0.19, = 3.0.18, = 3.0.17, = 3.0.16, = 3.0.15, = 3.0.14, = 3.0.14a, = 3.0.13, = 3.0.12, = 3.0.11, = 3.0.10, = 3.0.9, = 3.0.8, = 3.0.7, = 3.0.6, = 3.0.5, = 3.0.4, = 3.0.4 rc1, = 3.0.3, = 3.0.2, = 3.0.2a, = 3.0.1, = 3.0.0nonvd/v1/products/samba/samba

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 46
  • Public exploit first date: 2007-05-14
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 60998
  • Checked, none or zero: known exploited, known exploited by, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports