Windows Server service path-canonicalization stack overflow (MS08-067)
A crafted RPC path with more "..\" segments than real ones drives the canonicalizer's backward scan before the start of its stack buffer, corrupting the saved return address. Fun fact: shipped as MS08-067, it became the classic Metasploit ms08_067_netapi demo and the engine of the Conficker worm, which infected millions of machines in 2008 to 2009, one of the most-exploited Windows RCEs ever.
- Product
- Microsoft Windows Server service (srvsvc, via netapi32 path canonicalization)
- Vendor
- Microsoft
- Affected
- Windows 2000 SP4, XP, Server 2003 (unauthenticated); Vista, Server 2008 (authenticated)
- Fixed in
- MS08-067 update (2008-10-23)
- Weakness
- CWE-787
- CVSS vector
- CVSS:2.0/AV:N/AC:L/Au:N/C:C/I:C/A:C
- Published
- 23 Oct 2008
Classified as
References
Related CVEs
- CVE-2024-2961high 8.82024
glibc iconv ISO-2022-CN-EXT out-of-bounds write
Converting to a multibyte charset, one escape-sequence path skips its output-bounds check, writing up to 3 fixed bytes past the buffer.
- CVE-2023-5217high 8.82023
libvpx VP8 encoder heap overflow on thread/height reconfigure
A per-row worker array sized from the current frame height is only reallocated when threads exceed one, so a reconfigure that drops to a single thread while growing the frame leaves it undersized and the encoder writes past it.
- CVE-2023-4863high 8.82023
libwebp lossless Huffman table heap overflow (BLASTPASS)
A variable-length code table is written into a buffer sized only for its first level, so crafted long codes make the builder append second-level tables past the allocation: an out-of-bounds heap write reached by decoding one image.
- CVE-2022-3602high 7.52022
SpookySSL: OpenSSL X.509 punycode four-byte overflow
The punycode decoder allowed insertion when its output buffer was already full, so a crafted X.509 SmtpUTF8Mailbox domain processed during name-constraint checks could shift one attacker-controlled unsigned integer past the stack buffer.