Privilege escalation in NetBSD - #VU9822

 

Privilege escalation in NetBSD - #VU9822

Published: January 2, 2018


Vulnerability identifier: #VU9822
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: N/A
CWE-ID: CWE-264
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: NetBSD Foundation, Inc
Affected software:
NetBSD

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a missing mask in a syscall in in sys/arch/sparc64/sparc64/compat_13_machdep.c on sparc64 architecture. A local unprivileged user can set privileged bits, such as PSTATE_PRIV in the %pstate register and gain escalated privileges on the system.

Remediation

Install update from vendor's website.

Sources