Lucene search

K
hackeroneXairyH1:684567
HistoryAug 29, 2019 - 1:48 p.m.

Internet Bug Bounty: Linux kernel: CVE-2017-7308: a signedness issue in AF_PACKET sockets

2019-08-2913:48:44
xairy
hackerone.com
185

EPSS

0.001

Percentile

37.9%

Hi!

CVE-2017-7308 is a vulnerability I found in the Linux kernel caused by a signedness issue in AF_PACKET sockets. It can be exploited to gain kernel code execution from an unprivileged process. The kernel has to be built with CONFIG_PACKET for the vulnerability to be present. A lot of modern distributions enable this option by default.

I initially reported this vulnerability to [email protected] following the coordinated disclosure process. As advised by them I’ve developed a fix for this vulnerability and sent it upstream. The fix was committed on Mar 30, 2017.

I wrote a proof-of-concept exploit for the 4.8.0-41-generic Ubuntu kernel which gains root from an unprivileged user, which can be found here. More details about the vulnerability and exploitation can be found here.

The reason I’m reporting this now is that a similar bug that I’ve reported a while ago has recently been triaged and addressed, so it seems that LPE Linux kernel bugs are within the scope of this IBB program.

Thanks!

Impact

This vulnerability allows a local attacker to elevate privileges to root on a machine with vulnerable Linux kernel version.