POJIA破甲
地图 / Incorrect IPv6 literal parsing leads to validated connection to unexpected https server.

Incorrect IPv6 literal parsing leads to validated connection to unexpected https server.

其他弱点 / Improper Handling of URL Encoding (Hex Encoding) / #688048

厂商
curl
严重程度
低危 · CVSS 6.3
赏金
—
弱点
Improper Handling of URL Encoding (Hex Encoding)
研究员
@thomas_v
披露日期
2021-01-12
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(1986 字符中的一小部分)
Summary: The IPv6 ip address can be specified with square brackets like [fe80::3]. There can also be a zone id specified like [fe80::3%15]. A URL can specify its hostname with IPv6 literal,
原文中的代码
#include <stdio.h>
#include <curl/curl.h>
 
int main(int argc, char*argv[])
{
  CURL *curl;
  CURLcode res;
 
  curl = curl_easy_init();
  if(curl) {
    curl_easy_setopt(curl, CURLOPT_URL, argv[1]);
    /* example.com is redirected, so we tell libcurl to follow redirection */ …

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

时间线

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

同类报告

HTML injection in support.razer.com [IE only]Razer · — · $250Improper handling of request URLs in nextcloud/guests allows guest users to bypass app allowlistNextcloud · 2024-01-18Cache PoisoningInternet Bug Bounty · 2021-08-26Encoded slash traversal in the IPFS/IPNS URL rewrite escapes the configured gateway namespacecurl · 2026-09-14