POJIA破甲
地图 / CVE-2023-28322: more POST-after-PUT confusion

CVE-2023-28322: more POST-after-PUT confusion

业务逻辑 / Expected Behavior Violation / #1954658

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

该报告还没有中文解读。

原文摘录

摘自原文(3810 字符中的一小部分)
Summary: CVE-2022-32221 fixes is insufficient. In CVE-2022-32221, only CURLOPT_POST was corrected. However, CURLOPT_POST is not necessarily used when sending data with the POST method. CURLOPT_POST is not used in the CURLOPT_POSTFIELDS usage example on the official website.
原文中的代码
CURL *curl = curl_easy_init();
if(curl) {
  const char *data = "data to send";
 
  curl_easy_setopt(curl, CURLOPT_URL, "https://example.com");
 
  /* size of the POST data */
  curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, 12L);
 
  /* pass in a pointer to the data - libcurl will not copy */ …

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

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @kurohiro · 版权归作者与 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-2022-32221: POST following PUT confusioncurl · 2022-11-26