MQTT: Missing upper bound on incoming Remaining Length allows server-controlled long wait
该报告还没有中文解读。
原文摘录
摘自原文(2096 字符中的一小部分)
Curl's MQTT implementation accepts any valid Remaining Length advertised by the server without an explicit upper bound (beyond the MQTT spec maximum of 268,435,455 bytes). A malicious server can send a PUBLISH packet claiming this maximum size but provide only minimal payload, causing curl to wait …
原文中的代码
data->req.size = remlen; mq->npacket = remlen;
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @gaurav_7777 · 版权归作者与 curl 所有