POJIA破甲
地图 / TFTP accepts a first response from an IP other than the requested server

TFTP accepts a first response from an IP other than the requested server

密码学缺陷 / 中间人攻击 / #4103651

厂商
curl
严重程度
低危
赏金
—
弱点
中间人攻击
研究员
@sushiikan
披露日期
2026-10-16
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(3070 字符中的一小部分)
Summary: When curl sends a TFTP request to the IP in the URL, it accepts the first valid response from any source IP and pins that sender as the transfer peer. A host that can get UDP packets to the client's ephemeral port and win this first-response race can receive bytes from a TFTP upload or …
原文中的代码
if(state->remote_pinned) {
  if((state->remote_addrlen != fromlen) ||
     memcmp(&remote_addr, &state->remote_addr, fromlen))
    return CURLE_RECV_ERROR;
}
else {
  state->remote_pinned = TRUE;
  state->remote_addrlen = fromlen;
  memcpy(&state->remote_addr, &remote_addr, fromlen);
}

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @sushiikan · 版权归作者与 curl 所有

同类报告

Build fetches jars over HTTPPortSwigger Web Security · 2019-06-10 · $1,000Man-in-the-middle through broken SSL certificate verificationNintendo · 2025-08-08`Curl_socketpair()` fallback vulnerable to man-in-the-middle attackcurl · 2025-05-20Web protection component in Anti-Virus products family ignores HSTS security policyKaspersky · 2019-09-05burp does not validate the common name of the presented collaborator server certificatePortSwigger Web Security · 2018-06-13 · $1,500curl Missing Sec-WebSocket-Accept Verification Enables MITM WebSocket Session Hijackingcurl · 2026-08-05