Out-of-bounds Read in Gssapi Gss-Ntlmssp
CVE-2023-25563
GSS-NTLMSSP is a mechglue plugin for the GSSAPI library that implements NTLM authentication. Prior to version 1.2.0, multiple out-of-bounds reads when decoding NTLM fields can trigger a denial of service. A 32-bit integer overflow condition can lead to incorrect checks of consistency of length of internal buffers. Although most applications will error out before accepting a singe input buffer of 4GB in length this could theoretically happen. This vulnerability can be triggered via the main `gss_accept_sec_context` entry point if the application allows tokens greater than 4GB in length. This can lead to a large, up to 65KB, out-of-bounds read which could cause a denial-of-service if it reads from unmapped memory. Version 1.2.0 contains a patch for the out-of-bounds reads.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.011, 66.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Gssapi Gss-Ntlmssp — versions < 1.2.0
- Gss-Ntlmssp Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (emotest1/emo_emo). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/gssapi/gss-ntlmssp/security/advisories/GHSA-jjjx-5qf7-9mgf (Third Party Advisory)
- https://github.com/gssapi/gss-ntlmssp/commit/97c62c6167299028d80765080e74d91dfc99efbd (Patch, Third Party Advisory)
- https://github.com/gssapi/gss-ntlmssp/releases/tag/v1.2.0 (Third Party Advisory)