POJIA破甲
地图 / CVE-2023-46219: HSTS long file name clears contents

CVE-2023-46219: HSTS long file name clears contents

密码学缺陷 / Missing Encryption of Sensitive Data / #2236133

厂商
curl
严重程度
低危
赏金
—
弱点
Missing Encryption of Sensitive Data
研究员
@cxshakal
披露日期
2023-12-08
资产
https://github.com/curl/curl
CVE
CVE-2023-46219

该报告还没有中文解读。

原文摘录

摘自原文(5674 字符中的一小部分)
Summary: I've discovered a significant security flaw in cURL's file handling, particularly affecting the HSTS (HTTP Strict Transport Security) database when handling long filenames.
原文中的代码
CURLcode Curl_fopen(struct Curl_easy *data, const char *filename, FILE **fh, char **tempname) {
  CURLcode result = CURLE_WRITE_ERROR;
  unsigned char randsuffix[9]; // Random suffix generation <=======
  ...
  tempstore = aprintf("%s.%s.tmp", filename, randsuffix); // Temporary filename creation …

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

时间线

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

同类报告

Password and mail address stored unencrypted in memory - Rockstar Game LauncherRockstar Games · 2023-10-27 · $750curl HSTS long file name clears contentsInternet Bug Bounty · 2024-01-20sensitive data-creds for database - private keyMars · 2024-11-19Unauthenticated phpinfo()files could lead to ability file read at █████████ [HtUS]U.S. Dept Of Defense · 2023-01-06When uploading attachments, unencrypted file names are made available to the serverBitwarden · 2021-08-02Yarn transfers npm credentials over unencrypted http connectionNode.js third-party modules · 2019-08-14