CVE-2023-46219: HSTS long file name clears contents
密码学缺陷 / Missing Encryption of Sensitive Data / #2236133
该报告还没有中文解读。
原文摘录
摘自原文(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 所有