Heap Buffer Overflow in Curl_memdup0() via CURLOPT_COPYPOSTFIELDS/CURLOPT_POSTFIELDSIZE Mismatch
该报告还没有中文解读。
原文摘录
摘自原文(7720 字符中的一小部分)
Summary A heap buffer overflow vulnerability exists in libcurl's `Curl_memdup0()` function when handling `CURLOPT_COPYPOSTFIELDS` operations. The vulnerability occurs when libcurl internally processes POST data where the specified `CURLOPT_POSTFIELDSIZE` exceeds the actual buffer size of data set …
原文中的代码
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <curl/curl.h>
#define ACTUAL_SIZE 105
#define CLAIMED_SIZE 976909154L
int main(void) {
printf("[+] libcurl Heap Buffer Overflow PoC\n");
printf("[+] CURLOPT_COPYPOSTFIELDS vulnerability reproduction\n\n");
/* …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @geeknik · 版权归作者与 curl 所有