POJIA破甲
地图 / CVE-2022-32221: POST following PUT confusion

CVE-2022-32221: POST following PUT confusion

业务逻辑 / Expected Behavior Violation / #1704017

厂商
curl
严重程度
低危
赏金
—
弱点
Expected Behavior Violation
研究员
@robbotic
披露日期
2022-11-26
资产
https://github.com/curl/curl
CVE
CVE-2022-32221

该报告还没有中文解读。

原文摘录

摘自原文(3487 字符中的一小部分)
Summary: The bug I submitted at https://github.com/curl/curl/issues/9507 can have at least a few unintended security issues: - Information Disclosure: this bug causes an HTTP PUT to occur when the user intends for an HTTP POST to occur. The user, who intended an HTTP POST, expects the POSTed …
原文中的代码
#include <stdio.h>
#include <string.h>
#include <curl/curl.h>

typedef struct
{
    char *buf;
    size_t len;
} put_buffer;

static size_t put_callback(char *ptr, size_t size, size_t nmemb, void *stream)
{
    put_buffer *putdata = (put_buffer *)stream;
    size_t totalsize = size * nmemb; …

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

时间线

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

同类报告

Curl_compareheader() fails to match multi-value HTTP headerscurl · 2026-03-12CURL_NETRC_REQUIRED sends the URL password when the .netrc file has no matching entrycurl · 2026-10-23CVE-2023-28322: more POST-after-PUT confusioncurl · 2023-05-18