← 返回地图破甲

POP3: data after the end-of-body terminator is written into the retrieved message

其他弱点 / Acceptance of Extraneous Untrusted Data With Trusted Data / #4132132

厂商
curl
严重程度
低危
赏金
—
弱点
Acceptance of Extraneous Untrusted Data With Trusted Data
研究员
@durgasai1
披露日期
2026-10-21
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(4908 字符中的一小部分)
When a POP3 server sends the end-of-body terminator and further data in the same read, curl writes the bytes after the terminator into the retrieved message's output file and still reports success. The PoC returns the message, its "." line, and then a second "+OK" response that answers no command; …
原文中的代码
import socket, subprocess, threading, time, os
def srv(p):
    s = socket.socket(); s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
    s.bind(("127.0.0.1", p)); s.listen(1); c, _ = s.accept(); b = b""
    c.sendall(b"+OK ready\r\n")
    while True:
        d = c.recv(4096)
        if not …

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

时间线

阅读 HackerOne 原文 ↗作者 @durgasai1 · 版权归作者与 curl 所有

同类报告

HSTS accepted from HTTP origin behind HTTPS proxycurl · 2026-03-17curl reuses an HTTPS connection when a response is already buffered in the TLS stackcurl · 2026-10-20