Improper handling of untypical characters in domain names
内存破坏 / Improper Null Termination / #1178337
该报告还没有中文解读。
原文摘录
摘自原文(8551 字符中的一小部分)
Missing input validation of host names returned by Domain Name Servers in node's `dns` library can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library (leading to Remote Code Execution, XSS, Applications crashes, etc.).
原文中的代码
const dns = require('dns');
if (process.argv[2] == "-x") {
var host = process.argv[3];
dns.reverse(host, (err, result) => {
if (result){
for (var i = 0; i < result.length; i++)
{
console.log("node".padEnd(8), "reverse".padEnd(16), host.padEnd(30), "-".padEnd(80), "-".padEnd(10), …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Node.js 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @philippjeitner · 版权归作者与 Node.js 所有