Improper handling of wildcards in --allow-fs-read and --allow-fs-write
访问控制 / 访问控制缺陷(通用) / #2434819
该报告还没有中文解读。
原文摘录
摘自原文(1849 字符中的一小部分)
**Summary:** The permission model implementation does not process wildcards in the paths given via `--allow-fs-read` or `--allow-fs-write` correctly and may incorrectly grant access to paths that should be inaccessible.
原文中的代码
$ node --experimental-permission \
--allow-fs-read=/home/tniessen/.ssh/*.pub \
-p "fs.readFileSync('/home/tniessen/.ssh/id_github').length"
464
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @tniessen · 版权归作者与 Internet Bug Bounty 所有