POJIA破甲
地图 / Unexpected input validation of octal literals in nodejs v15.12.0 and below returns defined values for all undefined octal literals.

Unexpected input validation of octal literals in nodejs v15.12.0 and below returns defined values for all undefined octal literals.

代码执行 / Use of Inherently Dangerous Function / #1141623

厂商
Node.js
严重程度
高危 · CVSS 10
赏金
—
弱点
Use of Inherently Dangerous Function
研究员
@sickcodes
披露日期
2021-06-14
资产
https://github.com/nodejs/node
CVE
CVE-2020-28360CVE-2021-28918

该报告还没有中文解读。

原文摘录

摘自原文(4494 字符中的一小部分)
**Summary:** Unexpected input validation of octal literals in the nodejs implementation of V8 JavaScript engine V8 9.0.257.13 and below returns defined values for all undefined octal literals where otherwise should return undefined. Input data 08, 09... 078, 079 should return undefined, as evinced …
原文中的代码
console.log(04);
console.log(05);
console.log(06);
console.log(07);
console.log(08);
console.log(09);
console.log(010);
console.log(0o4);
console.log(0o5);
console.log(0o6);
console.log(0o7);
console.log(0o8);
console.log(0o9);

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

时间线

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

同类报告

Blind SSRF on https://labs.data.gov/dashboard/Campaign/json_status/ EndpointGSA Bounty · 2020-07-10 · $300URL Spoof / Brave Shield BypassBrave Software · 2017-08-31