the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2007-5398

Stack-based buffer overflow in the reply_netbios_packet function in nmbd/nmbd_packets.c in nmbd in Samba 3.0.0 through 3.0.26a, when operating as a WINS server, allows remote attackers to execute arbitrary code via crafted WINS Name Registration requests followed by a WINS Name Query request.
Publish Date : 2007-11-16 Last Update Date : 2010-08-21
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access Admin
Vulnerability Type(s) Execute CodeOverflow
CWE ID 119

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat critical 2007-10-30 2007-11-15
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @

- Related OVAL Definitions

Title Definition Id Class Family
CVE-2007-5398 unix
DSA-1409-1 samba - several vulnerabilities oval:org.mitre.oval:def:18728 unix
DSA-1409-2 samba - several vulnerabilities oval:org.mitre.oval:def:20204 unix
DSA-1409-3 samba - several vulnerabilities (update) oval:org.mitre.oval:def:20356 unix
ELSA-2007:1017: samba security update (Critical) oval:org.mitre.oval:def:22612 unix
HP-UX running HP CIFS Server (Samba), Remote Execution of Arbitrary Code oval:org.mitre.oval:def:5811 unix
RHSA-2007:1013: samba security update (Critical) oval:com.redhat.rhsa:def:20071013 unix
RHSA-2007:1016: samba security update (Critical) oval:com.redhat.rhsa:def:20071016 unix
RHSA-2007:1017: samba security update (Critical) oval:com.redhat.rhsa:def:20071017 unix
Stack-based buffer overflow in the reply_netbios_packet function in nmbd/nmbd_packets.c in nmbd in Samba 3.0.0 through 3... oval:org.mitre.oval:def:10230 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2007-5398

# Product Type Vendor Product Version Update Edition Language
1 Application Samba Samba 3.0 Version Details Vulnerabilities
2 Application Samba Samba 3.0.0 Version Details Vulnerabilities
3 Application Samba Samba 3.0.1 Version Details Vulnerabilities
4 Application Samba Samba 3.0.2a Version Details Vulnerabilities
5 Application Samba Samba 3.0.2 Version Details Vulnerabilities
6 Application Samba Samba 3.0.3 Version Details Vulnerabilities
7 Application Samba Samba 3.0.4 Version Details Vulnerabilities
8 Application Samba Samba 3.0.4 RC1 Version Details Vulnerabilities
9 Application Samba Samba 3.0.5 Version Details Vulnerabilities
10 Application Samba Samba 3.0.6 Version Details Vulnerabilities
11 Application Samba Samba 3.0.7 Version Details Vulnerabilities
12 Application Samba Samba 3.0.8 Version Details Vulnerabilities
13 Application Samba Samba 3.0.9 Version Details Vulnerabilities
14 Application Samba Samba 3.0.10 Version Details Vulnerabilities
15 Application Samba Samba 3.0.11 Version Details Vulnerabilities
16 Application Samba Samba 3.0.12 Version Details Vulnerabilities
17 Application Samba Samba 3.0.13 Version Details Vulnerabilities
18 Application Samba Samba 3.0.14a Version Details Vulnerabilities
19 Application Samba Samba 3.0.14 Version Details Vulnerabilities
20 Application Samba Samba 3.0.15 Version Details Vulnerabilities
21 Application Samba Samba 3.0.16 Version Details Vulnerabilities
22 Application Samba Samba 3.0.17 Version Details Vulnerabilities
23 Application Samba Samba 3.0.18 Version Details Vulnerabilities
24 Application Samba Samba 3.0.19 Version Details Vulnerabilities
25 Application Samba Samba 3.0.20 Version Details Vulnerabilities
26 Application Samba Samba 3.0.20b Version Details Vulnerabilities
27 Application Samba Samba 3.0.20a Version Details Vulnerabilities
28 Application Samba Samba 3.0.21c Version Details Vulnerabilities
29 Application Samba Samba 3.0.21b Version Details Vulnerabilities
30 Application Samba Samba 3.0.21a Version Details Vulnerabilities
31 Application Samba Samba 3.0.21 Version Details Vulnerabilities
32 Application Samba Samba 3.0.22 Version Details Vulnerabilities
33 Application Samba Samba 3.0.23d Version Details Vulnerabilities
34 Application Samba Samba 3.0.23c Version Details Vulnerabilities
35 Application Samba Samba 3.0.23b Version Details Vulnerabilities
36 Application Samba Samba 3.0.23a Version Details Vulnerabilities
37 Application Samba Samba 3.0.23 Version Details Vulnerabilities
38 Application Samba Samba 3.0.24 Version Details Vulnerabilities
39 Application Samba Samba 3.0.25 RC3 Version Details Vulnerabilities
40 Application Samba Samba 3.0.25 RC2 Version Details Vulnerabilities
41 Application Samba Samba 3.0.25c Version Details Vulnerabilities
42 Application Samba Samba 3.0.25 RC1 Version Details Vulnerabilities
43 Application Samba Samba 3.0.25b Version Details Vulnerabilities
44 Application Samba Samba 3.0.25 Pre2 Version Details Vulnerabilities
45 Application Samba Samba 3.0.25a Version Details Vulnerabilities
46 Application Samba Samba 3.0.25 Pre1 Version Details Vulnerabilities
47 Application Samba Samba 3.0.25 Version Details Vulnerabilities
48 Application Samba Samba 3.0.26 Version Details Vulnerabilities
49 Application Samba Samba 3.0.26a Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Samba Samba 49

- References For CVE-2007-5398
VUPEN ADV-2008-1712
VUPEN ADV-2008-0859
VUPEN ADV-2008-0064
APPLE APPLE-SA-2007-12-17
MLIST [Security-announce] 20080107 VMSA-2008-0001 Moderate OpenPegasus PAM Authentication Buffer Overflow and updated service console packages
SECTRACK 1018953
SLACKWARE SSA:2007-320-01
VUPEN ADV-2007-3869
VUPEN ADV-2007-4238
VUPEN ADV-2008-1908
GENTOO GLSA-200711-29
BUGTRAQ 20080123 UPDATED VMSA-2008-0001.1 Moderate OpenPegasus PAM Authentication Buffer Overflow and updated service console packages
SUSE SUSE-SA:2007:065
REDHAT RHSA-2007:1013
REDHAT RHSA-2007:1016
REDHAT RHSA-2007:1017
BUGTRAQ 20071115 Secunia Research: Samba "reply_netbios_packet()" Buffer OverflowVulnerability
BUGTRAQ 20080108 VMSA-2008-0001 Moderate OpenPegasus PAM Authentication Buffer Overflow and updated service console packages
BID 26455 Samba NMBD_Packets.C NetBIOS Replies Stack-Based Buffer Overflow Vulnerability Release Date:2008-06-24
XF samba-replynetbiospacket-bo(38502) CONFIRM
CERT TA07-352A

- Metasploit Modules Related To CVE-2007-5398

There are not any metasploit modules related to this CVE entry (Please visit for more information)

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.