cve/2023/CVE-2023-25564.md

18 lines
1.2 KiB
Markdown
Raw Normal View History

2024-08-05 18:41:32 +00:00
### [CVE-2023-25564](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25564)
![](https://img.shields.io/static/v1?label=Product&message=gss-ntlmssp&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%201.2.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-787%3A%20Out-of-bounds%20Write&color=brighgreen)
### Description
GSS-NTLMSSP is a mechglue plugin for the GSSAPI library that implements NTLM authentication. Prior to version 1.2.0, memory corruption can be triggered when decoding UTF16 strings. The variable `outlen` was not initialized and could cause writing a zero to an arbitrary place in memory if `ntlm_str_convert()` were to fail, which would leave `outlen` uninitialized. This can lead to a denial of service if the write hits unmapped memory or randomly corrupts a byte in the application memory space. This vulnerability can trigger an out-of-bounds write, leading to memory corruption. This vulnerability can be triggered via the main `gss_accept_sec_context` entry point. This issue is fixed in version 1.2.0.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/DiRaltvein/memory-corruption-examples