TippingPoint Zero Day Initiative
 

(Pwn2Own) Linux Kernel XFRM Out-Of-Bounds Access Privilege Escalation Vulnerability

ZDI-17-240: March 30th, 2017

CVE ID

CVSS Score

Affected Vendors

    Linux

Affected Products

    Linux Kernel

Vulnerability Details


This vulnerability allows local attackers to execute arbitrary code on vulnerable installations of the Linux Kernel. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

The specific flaw exists within the handling of xfrm states. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an allocated buffer. An attacker can leverage this vulnerability to elevate privileges and execute arbitrary code under the context of the kernel.

Vendor Response

Linux has issued an update to correct this vulnerability. More details can be found at:

Disclosure Timeline

    2017-03-18 - Vulnerability reported to vendor
    2017-03-30 - Coordinated public release of advisory

Credit

This vulnerability was discovered by:
    Chaitin Security Research Lab