SB2018021210 - Remote code execution and denial of service in NetBSD



SB2018021210 - Remote code execution and denial of service in NetBSD

Published: February 12, 2018 Updated: March 9, 2018

Security Bulletin ID SB2018021210
Severity
Critical
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Critical 50% Medium 50%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 secuirty vulnerabilities.


1) Improper input validation (CVE-ID: N/A)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due input validation error when parsing IPv6-AH IPsec packets within the "src/sys/netipsec/xform_ah.c" file. A remote attacker can create a specially crafted IPv6-AH packet with a suboption of length zero and trigger kernel panic. Additionally, the attacker can trigger buffer overflow and write zeros beyond the buffer bounds, containing the packet.

Successful exploitation of the vulnerability may allow an attacker to perform denial of service (DoS) attack against vulnerable system.


2) Memory corruption (CVE-ID: N/A)

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing IPv6 packets within "src/sys/netinet6/frag6.c" file. A remote unauthenticated attacker can send a series of specially crafted IPv6 packets, trigger memory corruption and cause denial of service conditions or execute arbitrary code on the target system.

Successful exploitation of this vulnerability may allow an attacker to remotely execute arbitrary code on the vulnerable system with kernel privileges.

This is a highly critical vulnerability, since IPv6 support is enabled by default in NetBSD.


Remediation

Install update from vendor's website.