POJIA破甲
地图 / SMB READ_ANDX DataOffset not validated

SMB READ_ANDX DataOffset not validated

其他弱点 / Unlabeled / #3603300

厂商
curl
严重程度
中危
赏金
—
弱点
Unlabeled
研究员
@x2048
披露日期
2026-03-16
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(5629 字符中的一小部分)
Summary: in `smb_request_state()` case `SMB_DOWNLOAD` curl reads two server-controlled fields from a `READ_ANDX` response and uses them to decide where in the receive buffer file data starts.
原文中的代码
/* lib/smb.c */
len = Curl_read16_le((const unsigned char *)msg +
                     sizeof(struct smb_header) + 11);
off = Curl_read16_le((const unsigned char *)msg +
                     sizeof(struct smb_header) + 13);
if(len > 0) {
    if(off + sizeof(unsigned int) + len > smbc->got) { …

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

时间线

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

同类报告

June 2022 Incident ReportHackerOne · 2022-07-01HTML-injection in PDF-export leads to LFIVisma Public · — · $500DOM XSS on duckduckgo.com searchDuckDuckGo · 2020-06-14An attacker can archive and unarchive any structured scope object on HackerOneHackerOne · 2022-04-18Java (Maven): Actually fix the use of insecure protocol to download/upload artifactsGitHub Security Lab · — · $4,000Handling of `tracking` command allows making arbitrary blind requests with user's cookies from Grammarly Extension's originSuperhuman (formerly Grammarly) · 2019-08-01