CVE-2007-6015
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…
Check your servers for CVE-2007-6015
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2007-6015 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 27.4%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 98.5% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2007-6015 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2007-6015RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2007-6015Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2007-6015
trivy image --scanners vuln IMAGE | grep CVE-2007-6015
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2007:1117 redhat.com · vendor advisory
- http://docs.info.apple.com/article.html?artnum=307430 docs.info.apple.com
- 28891 secunia.com · third party advisory
- 1019295 sunsolve.sun.com · vendor advisory
- 30835 secunia.com · third party advisory
- 29341 secunia.com · third party advisory
- HPSBUX02316 marc.info · vendor advisory
- VU#438395 kb.cert.org · third party advisory
- 238251 sunsolve.sun.com · vendor advisory
- SUSE-SA:2007:068 novell.com · vendor advisory
- USN-556-1 ubuntu.com · vendor advisory
- HPSBUX02341 www11.itrc.hp.com · vendor advisory
27 more
- 27999 secunia.com · third party advisory
- 30484 secunia.com · third party advisory
- 29032 secunia.com · third party advisory
- http://www.samba.org/samba/security/CVE-2007-6015.html samba.org
- 27993 secunia.com · third party advisory
- DSA-1427 debian.org · vendor advisory
- MDKSA-2007:244 mandriva.com · vendor advisory
- http://bugs.gentoo.org/show_bug.cgi?id=200773 bugs.gentoo.org
- 27977 secunia.com · third party advisory
- 28029 secunia.com · third party advisory
- http://support.avaya.com/elmodocs2/security/ASA-2007-520.htm support.avaya.com
- 28089 secunia.com · third party advisory
- 28003 secunia.com · third party advisory
- https://issues.rpath.com/browse/RPL-1976 issues.rpath.com
- TA08-043B us-cert.gov · third party advisory
- RHSA-2007:1114 redhat.com · vendor advisory
- 3438 securityreason.com · third party advisory
- SSA:2007-344-01 slackware.com · vendor advisory
- FEDORA-2007-4269 redhat.com · vendor advisory
- FEDORA-2007-4275 redhat.com · vendor advisory
- 27894 secunia.com · third party advisory
- APPLE-SA-2008-02-11 lists.apple.com · vendor advisory
- 27760 secunia.com · third party advisory
- 28067 secunia.com · third party advisory
- 28037 secunia.com · third party advisory
- 28028 secunia.com · third party advisory
- GLSA-200712-10 security.gentoo.org · vendor advisory
Other references
- [Security-announce] 20080221 VMSA-2008-0003 Moderate: Updated aacraid driver and samba and python service console… lists.vmware.com · mailing list
- 26791 securityfocus.com · vdb entry
- ADV-2008-1908 vupen.com · vdb entry
- ADV-2008-0495 vupen.com · vdb entry
- 20071214 POC for samba send_mailslot() securityfocus.com · mailing list
- samba-sendmailslot-bo(38965) exchange.xforce.ibmcloud.com · vdb entry
- 20080221 VMSA-2008-0003 Moderate: Updated aacraid driver and samba and python service console updates securityfocus.com · mailing list
- 20071210 Secunia Research: Samba "send_mailslot()" Buffer OverflowVulnerability securityfocus.com · mailing list
- 1019065 securitytracker.com · vdb entry
- ADV-2008-0637 vupen.com · vdb entry
- ADV-2007-4153 vupen.com · vdb entry
- ADV-2008-1712 vupen.com · vdb entry
6 more
- http://secunia.com/secunia_research/2007-99/advisory/ secunia.com
- ADV-2008-0859 vupen.com · vdb entry
- 20071210 [SECURITY] Buffer overrun in send_mailslot() securityfocus.com · mailing list
- 20071210 rPSA-2007-0261-1 samba samba-swat securityfocus.com · mailing list
- oval:org.mitre.oval:def:11572 oval.cisecurity.org · vdb entry, signature
- oval:org.mitre.oval:def:5605 oval.cisecurity.org · vdb entry, signature
Source: the record CVE-2007-6015 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse