Remotely trigger an assertion on a TLS server with a malformed certificate string
该报告还没有中文解读。
原文摘录
摘自原文(11528 字符中的一小部分)
**Summary:** Connecting to a NodeJS TLS server with a client certificate that has a type 19 string in its subjectAltName will crash the TLS server if it tries to read the peer certificate.
原文中的代码
const tls = require("tls");
const fs = require("fs");
let server = tls.createServer({
ca: fs.readFileSync("./ca.crt"),
cert: fs.readFileSync("./server.crt"),
key: fs.readFileSync("./server.key"),
requestCert: true,
rejectUnauthorized: true
}, (socket) => { …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Node.js 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @rogierschouten · 版权归作者与 Node.js 所有