Improper Input Validation — HTTP Response Parser Unconditionally Accepts Bare CR in Status Line
该报告还没有中文解读。
原文摘录
摘自原文(11028 字符中的一小部分)
Weakness: Improper Input Validation — HTTP Response Parser Unconditionally Accepts Bare CR in Status Line
原文中的代码
const http = require('http');
const net = require('net');
const server = net.createServer((sock) => {
// Response with bare CR (\r\r) as status line terminator instead of \r\n
const payload = 'HTTP/1.1 200 OK\r\rContent-Length: 4\r\n\r\nEvil';
sock.write(payload);
setTimeout(() => …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Node.js 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @saif-01 · 版权归作者与 Node.js 所有