Multiple vulnerabilities in FreeBSD



Published: 2017-11-16
Risk Low
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2017-1086
CVE-2017-1087
CVE-2017-1088
CWE-ID CWE-401
CWE-284
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
FreeBSD
Operating systems & Components / Operating system

Vendor FreeBSD Foundation

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Memory leak

EUVDB-ID: #VU9341

Risk: Low

CVSSv3.1: 3.3 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-1086

CWE-ID: CWE-401 - Missing release of memory after effective lifetime

Exploit availability: No

Description

The vulnerability allows a local user to obtain potentially sensitive information.

The vulnerability exists due to an error in implementation of the ptrace(PT_LWPINFO) system call. A local user can use debugger to read portions of data from kernel.


Mitigation

Install update from vendor's repository:
https://security.FreeBSD.org/patches/SA-17:08/ptrace.patch
https://security.FreeBSD.org/patches/SA-17:08/ptrace.patch.asc

Vulnerable software versions

FreeBSD: 10.0 - 11.1

External links

http://www.freebsd.org/security/advisories/FreeBSD-SA-17:08.ptrace.asc


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Improper access control

EUVDB-ID: #VU9342

Risk: Low

CVSSv3.1: 7.7 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-1087

CWE-ID: CWE-284 - Improper Access Control

Exploit availability: No

Description

The vulnerability allows a local user to access otherwise restricted information.

The vulnerability exists due to an error in implementation of POSIX shared memory, intended for realtime inter-process communication by sharing a memory area through the use of a named path. Named paths are globally scoped, meaning a process located in one jail can read and modify the content of POSIX shared memory objects created by a process in another jail or the host system.

A malicious user that has access to a jailed system is able to abuse shared memory by injecting malicious content in the shared memory region.  This memory region might be executed by applications trusting the shared memory, like Squid.

Successful exploitation of the vulnerability may allow an attacker to perform a denial of service (DoS) attack or escalate privileges on the system.

Mitigation

Install update from vendor's repository:
FreeBSD 10.3
https://security.FreeBSD.org/patches/SA-17:09/shm-10.3.patch
https://security.FreeBSD.org/patches/SA-17:09/shm-10.3.patch.asc

FreeBSD 10.4, FreeBSD 10-STABLE
https://security.FreeBSD.org/patches/SA-17:09/shm-10.patch
https://security.FreeBSD.org/patches/SA-17:09/shm-10.patch.asc

Vulnerable software versions

FreeBSD: 10.0 - 10.4

External links

http://www.freebsd.org/security/advisories/FreeBSD-SA-17:09.shm.asc


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Memory leak

EUVDB-ID: #VU9343

Risk: Low

CVSSv3.1: 3.3 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-1088

CWE-ID: CWE-401 - Missing release of memory after effective lifetime

Exploit availability: No

Description

The vulnerability allows a local user to obtain potentially sensitive information.

The vulnerability exists in kldstat(2) system call implementation  due to kernel does not properly clear the memory of the kld_file_stat structure before filling the data.  Since the structure filled by the kernel is allocated on the kernel stack and copied to userspace, a leak of information from the kernel stack is possible.

A local user can gain access to potentially sensitive information.

Mitigation

Install update from vendor's repository:
https://security.FreeBSD.org/patches/SA-17:10/kldstat.patch
https://security.FreeBSD.org/patches/SA-17:10/kldstat.patch.asc

Vulnerable software versions

FreeBSD: 10.0 - 11.1

External links

http://www.freebsd.org/security/advisories/FreeBSD-SA-17:10.kldstat.asc


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###