POJIA破甲
地图 / Improper handling of wildcards in --allow-fs-read and --allow-fs-write

Improper handling of wildcards in --allow-fs-read and --allow-fs-write

访问控制 / 访问控制缺陷(通用) / #2434819

厂商
Internet Bug Bounty
严重程度
低危
赏金
$1,290
弱点
访问控制缺陷(通用)
研究员
@tniessen
披露日期
2024-05-29
资产
https://github.com/nodejs/node
CVE
CVE-2024-21890

该报告还没有中文解读。

原文摘录

摘自原文(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 所有

同类报告

Account Takeover via Password Reset without user interactionsGitLab · 2025-02-26 · $35,000Exfiltrate and mutate repository and project data through injected templated serviceGitLab · 2019-03-05 · $11,000Getting all the CD keys of any gameValve · 2018-10-31 · $20,000Ability to reset password for accountUpserve · 2019-06-06Publicly accessible Continuous Integration ToolSnapchat · 2021-07-29One-click account hijack for anyone using Apple sign-in with Reddit, due to response-type switch + leaking href to XSS on www.redditmedia.comReddit · 2022-08-02