POJIA破甲
地图 / HTTP Request Smuggling Due to Incorrect Parsing of Multi-line Transfer-Encoding (improper fix for CVE-2022-32215)

HTTP Request Smuggling Due to Incorrect Parsing of Multi-line Transfer-Encoding (improper fix for CVE-2022-32215)

注入与走私 / HTTP 请求走私 / #1665156

厂商
Node.js
严重程度
低危
赏金
—
弱点
HTTP 请求走私
研究员
@shacharm
披露日期
2022-10-26
资产
https://github.com/nodejs/node
CVE
CVE-2022-32215

该报告还没有中文解读。

原文摘录

摘自原文(2661 字符中的一小部分)
**Summary:** Due to an incomplete fix for CVE-2022-32215, the `llhttp` parser in the `http` module in Node v16.16.0 and 18.7.0 still does not correctly handle multi-line Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS).
原文中的代码
const http = require('http');

http.createServer((request, response) => {
   let body = [];
   request.on('error', (err) => {
   response.end("error while reading body: " + err)
   }).on('data', (chunk) => {
      body.push(chunk);
   }).on('end', () => {
   body = Buffer.concat(body).toString(); …

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

时间线

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

同类报告

Bypass for #488147 enables stored XSS on https://paypal.com/signin againPayPal · 2019-08-07 · $20,000Mass account takeovers using HTTP Request Smuggling on https://slackb.com/ to steal session cookiesSlack · 2020-03-12Stored XSS on https://paypal.com/signin via cache poisoningPayPal · 2019-08-07 · $18,900Request smuggling on admin-official.line.me could lead to account takeoverLY Corporation · 2020-05-19Stealing Zomato X-Access-Token: in Bulk using HTTP Request Smuggling on api.zomato.comEternal · 2020-07-09Password theft login.newrelic.com via Request SmugglingNew Relic · — · $3,000