CVE-2022-32221: POST following PUT confusion
业务逻辑 / Expected Behavior Violation / #1704017
该报告还没有中文解读。
原文摘录
摘自原文(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 所有