POJIA破甲
地图 / In curl's SASL OAUTHBEARER authentication, including the SOH character (0x01) in the username corrupts the message structure.

In curl's SASL OAUTHBEARER authentication, including the SOH character (0x01) in the username corrupts the message structure.

注入与走私 / Improper Neutralization of Value Delimiters / #3584865

厂商
curl
严重程度
低危
赏金
—
弱点
Improper Neutralization of Value Delimiters
研究员
@y_security
披露日期
2026-03-08
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(3170 字符中的一小部分)
This vulnerability arises because curl fails to validate the contents of the username when constructing OAuth2 authentication messages. Depending on the server-side implementation, this could lead to log tampering or credential spoofing.
原文中的代码
import socket
import base64

def start_server():
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
    s.bind(('127.0.0.1', 1430)) 
    s.listen(1)
    print("Waiting for IMAP OAuth message on port 1430...")

    while True: …

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

时间线

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

同类报告

wcurl treats some URL operands after -- as curl optionscurl · 2026-05-06