Vulnerability Name:

CCN-7109

Published:2001-09-06
Updated:2001-09-06
Summary:The semop function in the NetBSD kernel fails to properly handle bounds checking with unsigned values. If stack memory is executable, a local attacker could pass a large 'nsops' value stored in the user memory and copied to the processÂ’s kernel stack. In turn, this could allow the attacker to cause a kernel trap, call arbitrary kernel cokde, or execute arbitrary code on the system.
CVSS v3 Severity:5.9 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:4.6 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Consequences:Gain Access
References:Source: CCN
Type: NetBSD Security Advisory 2001-015
Insufficient checking of lengths passed from userland to kernel

Source: CCN
Type: BID-3298
NetBSD semop Arbitrary Code Execution Vulnerability

Source: XF
Type: UNKNOWN
kernel-semop-execute-code(7109)

Vulnerable Configuration:Configuration CCN 1:
  • cpe:/o:netbsd:netbsd:1.4.1:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:1.4.2:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:1.4:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:1.5:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:1.4.3:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:1.5.1:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:1.5.2:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    netbsd netbsd 1.4.1
    netbsd netbsd 1.4.2
    netbsd netbsd 1.4
    netbsd netbsd 1.5
    netbsd netbsd 1.4.3
    netbsd netbsd 1.5.1
    netbsd netbsd 1.5.2