CVE-2017-1086
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: secteam@freebsd.org — https://www.freebsd.org/security/advisories/FreeBSD-SA-17:08.ptrace.asc
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| freebsd | - | affected | |
References
- http://www.securityfocus.com/bid/101861
- http://www.securitytracker.com/id/1039809
- https://www.freebsd.org/security/advisories/FreeBSD-SA-17:08.ptrace.asc
- http://www.securityfocus.com/bid/101861
- http://www.securitytracker.com/id/1039809
- https://www.freebsd.org/security/advisories/FreeBSD-SA-17:08.ptrace.asc
CWEs
CWE-200
Verify integrity in audit chain (admin only). AS-IS.