Exploit database

Vulnerability

CVE-2007-2447

Vulnerability details

Score
6.0
Severity
medium

CVSS 2.0 · NVD

Vector string

AV:N/AC:M/Au:S/C:P/I:P/A:P

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.

CVE Program

Exploit source choices

4 sources
Samba "username map script" Command Execution
MSF-multi--samba--usermap_scriptMetasploitUnix / remote

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!

2007-05-14usermap_script.rb
amriunix/cve-2007-2447
GH-2a67cd7418d862dd43a5e5f011b2fee6GitHubUnofficial GitHub source

CVE-2007-2447 - Samba usermap script

2018-08-031 file · 62 stars
h3x0v3rl0rd/cve-2007-2447
GH-9dca7a5da2ac9af4532b8dd48b823d33GitHubUnofficial GitHub source

Exploit Samba smbd 3.0.20-Debian

2022-10-251 file · 5 stars