POJIA破甲
地图 / [i18next] Prototype pollution attack

[i18next] Prototype pollution attack

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

厂商
Node.js third-party modules
严重程度
中危
赏金
—
弱点
Modification of Assumed-Immutable Data (MAID)
研究员
@0b5cur17y
披露日期
2021-04-26
资产
i18next
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(3803 字符中的一小部分)
I would like to report a prototype pollution vulnerability in i18next. It allows to modify the prototype of a base object, which may result in DoS, XSS, RCE, etc. depending on the way the library is used.
原文中的代码
// -------------- deepExtend as defined in i18next -------------- 
function deepExtend(target, source, overwrite) {
  /* eslint no-restricted-syntax: 0 */
  for (const prop in source) {
    if (prop !== '__proto__') {
      if (prop in target) {
        // If we reached a leaf string in target or …

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

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @0b5cur17y · 版权归作者与 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