The Zephyr TFTP client in subsys/net/lib/tftp/tftp_client.c does not check where the reply to its request comes from.
The Zephyr TFTP client in subsys/net/lib/tftp/tftp_client.c does not check where the reply to its request comes from. After sending a read or write request to the configured server, send_request() accepts the first UDP datagram that arrives on the client's socket from any address and port. It then calls zsock_connect() to that sender, so the sender becomes the peer for the rest of the transfer. RFC 1350 requires a client to discard datagrams whose source does not match the transfer ID it expects. A host that can send a UDP datagram to the client's ephemeral port before the real server replies can take over the transfer. It can reply from its own address and does not need to spoof the server.
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Zephyrproject
- Product
- zephyr
- CVSS v3.1
- 4.8 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- Exploitation
- SSVC none, automatable no, impact partial
- Weakness
- CWE-940
- NVD status
- Awaiting Analysis
Why it ranks 3 (Routine)
- CVSS v3.1 4.8 medium
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.