| tiêu đề | Cesanta Mongoose Embedded Web Server 7.20 Insufficiently Random Values |
|---|
| Mô tả | The mg_sendnsreq() function in /src/dns.c generates DNS transaction IDs using a sequential counter that resets to 1 whenever the pending request list is empty. Since each resolved query is freed from the list before the next query is typically created, the transaction ID is a constant value of 1 for all non-overlapping DNS queries. This allows an attacker to spoof DNS responses with ~100% reliability without observing any prior traffic, completely bypassing the only authentication mechanism in the DNS protocol. The attack can be performed remotely by any host that can send UDP packets with a spoofed source IP to the victim, requires no authentication, and results in full control over hostname resolution -- enabling man-in-the-middle, credential theft, or redirection to malicious infrastructure. |
|---|
| Nguồn | ⚠️ https://github.com/dwBruijn/CVEs/blob/main/Mongoose/mg_sendnsreq.md |
|---|
| Người dùng | dwbruijn (UID 93926) |
|---|
| Đệ trình | 10/02/2026 13:23 (cách đây 2 các tháng) |
|---|
| Kiểm duyệt | 22/02/2026 08:57 (12 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 347333 [Cesanta Mongoose đến 7.20 DNS Transaction ID /src/dns.c mg_sendnsreq ngẫu nhiên mã hóa yếu] |
|---|
| điểm | 20 |
|---|