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:An attacker can make the Node.js HTTP/2 server completely unavailable by sending a small amount of HTTP/2 frames packets with a few HTTP/2 frames inside. It is possible to leave some data in nghttp2 memory after reset when headers with HTTP/2 CONTINUATION frame are sent to the server and then a TCP connection is abruptly closed by the client triggering the Http2Session destructor while header frames are still being processed (and stored in memory) causing a race condition.
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. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →