Remote code execution and denial of service in NetBSD

Published: 2018-02-12 21:41:55 | Updated: 2018-03-09 23:32:41
Severity Critical
Patch available YES
Number of vulnerabilities 2
CVE ID N/A
CVSSv3 7.5 [CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H/E:U/RL:O/RC:C]
8.7 [CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]
CWE ID CWE-119
Exploitation vector Network
Public exploit Not available
Vulnerable software NetBSD
Vulnerable software versions NetBSD 7.1
NetBSD 7.0.2
NetBSD 7.0.1
Show more
Vendor URL NetBSD Foundation, Inc

Security Advisory

1) Improper input validation

Description

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.

Remediation

Install update from vendor's repository.

External links

http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2018-003.txt.asc

2) Memory corruption

Description

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 repository.

External links

http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2018-004.txt.asc

Back to List