Skip to content
OpenAdvisories
Unscored Public exploit CVE-2007-6015 EUVD-2007-5985GHSA-hhrv-j6cc-jr4p

Stack-based buffer overflow in the send_mailslot function in nmbd in Samba 3.0.0 through 3.0.27a, when the "domain logons" option is enable…

Published Dec 13, 2007 · Updated Aug 7, 2024 · Assigned by flexera

Description

Stack-based buffer overflow in the send_mailslot function in nmbd in Samba 3.0.0 through 3.0.27a, when the "domain logons" option is enabled, allows remote attackers to execute arbitrary code via a GETDC mailslot request composed of a long GETDC string following an offset username in a SAMLOGON logon request.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 samba 3.0.28-1 —
Debian 13 samba 3.0.28-1 —
Debian 12 samba 3.0.28-1 —
Debian 5.0 samba 3.0.28-1~lenny1 DTSA-100-1
Debian 4.0 samba 3.0.24-6etch9 DSA-1427-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 3.1 samba 3.0.14a-3sarge11 DSA-1427-1
ReleasePackageFixed inAdvisory
RHEL 5 samba +3 3.0.25b-1.el5_1.4 RHSA-2007:1114
RHEL 4 samba +3 3.0.25b-1.el4_6.4 RHSA-2007:1114
RHEL 3 samba +3 3.0.9-1.3E.14.3 RHSA-2007:1114
RHEL 2 samba +3 2.2.12-1.21as.8.2 RHSA-2007:1114
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 4.5 EUS samba +3 3.0.10-2.el4_5.2 RHSA-2007:1117, RHSA-2007:1114
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cifs-utils 6.13-1.3 openSUSE-SU-2024:10683-1
openSUSE Tumbleweed samba 4.14.6+git.182.2205d5224e3-1.1 openSUSE-SU-2024:11365-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 6

References