Fix for CVE-2021-22151 (Kibana path traversal issue) can be bypassed on Windows
该报告还没有中文解读。
原文摘录
摘自原文(2281 字符中的一小部分)
Hello team, I hope you're doing well! I was combing through your GitHub repository to look at the fixes for recent security releases and found [the fix for CVE-2021-22151](https://github.com/elastic/kibana/pull/107768) to be incomplete. The current fix makes assumptions that are true on Linux but …
原文中的代码
const range = path.normalize(request.params.range);
return range.startsWith('..')
? response.notFound()
: new Promise((resolve) => {
const fontPath = path.join(__dirname, 'fonts', 'open_sans', `${range}.pbf`);
fs.readFile(fontPath, (error, data) …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Elastic 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @dee-see · 版权归作者与 Elastic 所有