Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-34A3F9B5-DAB3-11E7-B5AF-A4BADB2F4699 (CVE-2017-1086): FreeBSD -- Kernel data leak via ptrace(PT_LWPINFO)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: VID-34A3F9B5-DAB3-11E7-B5AF-A4BADB2F4699 (CVE-2017-1086): FreeBSD -- Kernel data leak via ptrace(PT_LWPINFO)

Severity
2
CVSS
(AV:L/AC:L/Au:N/C:P/I:N/A:N)
Published
11/15/2017
Created
07/25/2018
Added
12/06/2017
Modified
05/03/2019

Description

In FreeBSD before 11.1-STABLE, 11.1-RELEASE-p4, 11.0-RELEASE-p15, 10.4-STABLE, 10.4-RELEASE-p3, and 10.3-RELEASE-p24, not all information in the struct ptrace_lwpinfo is relevant for the state of any thread, and the kernel does not fill the irrelevant bytes or short strings. Since the structure filled by the kernel is allocated on the kernel stack and copied to userspace, a leak of information of the kernel stack of the thread is possible from the debugger. As a result, some bytes from the kernel stack of the thread using ptrace (PT_LWPINFO) call can be observed in userspace.

Solution(s)

  • freebsd-upgrade-base-10_3-release-p24
  • freebsd-upgrade-base-10_4-release-p3
  • freebsd-upgrade-base-11_0-release-p15
  • freebsd-upgrade-base-11_1-release-p4

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;