目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2020-12351 PoC — Linux kernel 输入验证错误漏洞

来源
关联漏洞
标题: Linux kernel 输入验证错误漏洞 (CVE-2020-12351)
Description:Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 蓝牙存在输入验证错误漏洞,该漏洞源于实现使用A2MP CID处理L2CAP数据包的方式。攻击者可利用这个漏洞使系统崩溃,从而导致拒绝服务,或者通过发送一个特制的L2CAP包潜在地在系统上执行任意代码。
Description
CVE-2020-12351
介绍
# Linux: Heap-Based Type Confusion in L2CAP (CVE-2020-12351)
**Linux: Heap-Based Type Confusion in L2CAP** PoC (CVE-2020-12351) on BLE implementation

## Why did I modify the original PoC?
The original [PoC][Andy Nguyen, Google Security Research Team] is focused on sending a malicious l2cap packet via Bluetooth Classic. However, I had a requirement to test it against a peripheral that supports only Bluetooth Low Energy (BLE) communication and has adopted the entire BlueZ stack (both classic and LE)

L2CAP is a common protocol that resides in host stack to support both bluetooth classic and BLE implementations


## Prerequisite
Linux Machine with BLE Adapter. If the machine doesn't come with an inbuilt adapter, you can a get an external one

## Usage: 
```sh
1. Compile 
gcc -o CVE-2020-12351 CVE-2020-12351.c -lbluetooth 

2. Run
$./CVE-2020-12351 <BLE_Peripheral_MAC_Address>      //MAC Format: FF:FF:FF:FF:FF:FF

Packet capture:
hcidump -i <hci0> -w CVE-2020-12351.pcap
```

## Acknowledgements
- [Andy Nguyen, Google Security Research Team]


[//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen)
   [Andy Nguyen, Google Security Research Team]: <https://github.com/google/security-research/security/advisories/GHSA-h637-c88j-47wq>
   
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →