IMAP Protocol Desynchronization and Response Smuggling via Naive Literal Parsing
该报告还没有中文解读。
原文摘录
摘自原文(5538 字符中的一小部分)
`libcurl` incorrectly parses IMAP literals (`{size}`) even when they are embedded within quoted strings (e.g., email subjects or headers). This behavior violates **RFC 3501**, which mandates that content inside double quotes must be treated as opaque text.原文中的代码
/* Pseudocode representation of the flaw */
ptr = memchr(line, '{', len);
if(ptr) {
/* Logic proceeds to parse number inside {} without checking if inside quotes */
}
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @shiftj · 版权归作者与 curl 所有