CVE-2026-92389: TFTP direction confusion
该报告还没有中文解读。
原文摘录
摘自原文(8376 字符中的一小部分)
curl's TFTP state machine accepts either direction's opening response regardless of which one was requested. A malicious TFTP server can answer an RRQ with ACK block 0, which flips curl into transmit mode and causes it to drain whatever read source the handle's sticky `CURLOPT_READDATA` points at, …
原文中的代码
// lib/tftp.c:766-781 case TFTP_EVENT_ACK: /* only valid reply to WRQ — no upload check */ result = tftp_connect_for_tx(state, event); break; case TFTP_EVENT_DATA: /* only valid reply to RRQ — no upload check */ result = tftp_connect_for_rx(state, event); break;
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @giant_anteater · 版权归作者与 curl 所有