Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-27983 PoC — Node.js 安全漏洞

Source
Associated Vulnerability
Title:Node.js 安全漏洞 (CVE-2024-27983)
Description:Node.js是一个开源、跨平台的 JavaScript 运行时环境。 Node.js 18.x版本、20.x版本和21.x版本存在安全漏洞,该漏洞源于攻击者可以通过发送少量HTTP/2帧数据包,使服务器完全不可用。
Description
CVE-2024-27983 this repository builds up a vulnerable HTTP2 Node.js server (`server-nossl.js`) based on CVE-2024-27983 which exploits a continuation flood vulnerability in HTTP2 servers.
Readme
This repository builds up a vulnerable HTTP2 Node.js server (`server-nossl.js`) based on CVE-2024-27983 which exploits a continuation flood vulnerability in HTTP2 servers.

Notes:

- `server.js` is found not vulnerable due to the use of SSL certificates.
- `server-nossl.js` is vulnerable to the continuation flood attack.
- `client.js` is a small client script to test the HTTP2 server.
- `exploits/` contains the exploit code for the vulnerability based on the [HackerOne report](https://hackerone.com/reports/2319584).
File Snapshot

[4.0K] /data/pocs/b2eecedc768385ec8e4e5a558a8a9b3808fca7cf ├── [ 571] client.js ├── [ 521] Dockerfile ├── [4.0K] exploit │   ├── [2.8K] exploit2.go │   ├── [ 127] go.mod │   ├── [ 308] go.sum │   ├── [3.9M] http2-node-exploit │   ├── [ 40] README.md │   └── [7.9M] Screen_Recording_2024-01-15_at_15.40.42.mov ├── [ 427] fastify-stock-server.js ├── [ 10K] LICENSE ├── [1.1K] localhost-cert.pem ├── [1.7K] localhost-privkey.pem ├── [ 274] package.json ├── [ 522] README.md ├── [ 485] server.js ├── [ 520] server-nossl.js └── [ 302] start.sh 1 directory, 17 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.