Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2026-123633 — Docker-based proof-of-concept for CVE-2026-123633, an nginx HTTP/2 use-after-free triggered by connection exhaustion and RST_STREAM races, with a Python flood script and detection notes. | Kitploit
工具/GitHubGitHub/llcforge/cve-2026-123633
Web Vulnerability ScannersVulnerability AnalysisExploitationWeb SecurityNetwork Security
GitHubllcforge/cve-2026-123633

CVE-2026-123633

Docker-based proof-of-concept for CVE-2026-123633, an nginx HTTP/2 use-after-free triggered by connection exhaustion and RST_STREAM races, with a Python flood script and detection notes.

查看仓库
31天前尚未审核
分享
内容在请求的语言中不可用。显示英文版本。

CVE-2026-123633

nginx — HTTP/2 Use-After-Free Under Connection Exhaustion

CVSS CVSS_4 CWE Language Fixed Disclosed


Overview

A use-after-free in nginx's HTTP/2 connection-management code allows an attacker to crash worker processes by exhausting the worker connection pool and immediately resetting (RST_STREAM) in-flight requests. When all worker_connections slots are occupied and a new HTTP/2 stream is opened then cancelled with an RST before the upstream proxy response arrives, nginx may reference a connection object that has already been freed during the pool-exhaustion cleanup path.

FieldValue
CVECVE-2026-123633
CVSS 3.18.1 High — AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 4.09.2 Critical — CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H
CWECWE-416 (Use After Free)
Affectednginx 1.19.7 – 1.31.8
Fixednginx 1.30.7 / 1.31.9
Auth RequiredNone
Disclosed2026-11-18

Vulnerability Details

nginx maintains a fixed-size connection pool governed by worker_connections. When the pool is saturated under HTTP/2 load, the cleanup path frees connection objects while upstream proxy callbacks may still hold raw pointers to them. The lab deliberately sets worker_connections: 24 to make pool exhaustion deterministic. The HTTP/2 sibling of CVE-2026-121810 (HTTP/3 UAF under identical conditions).


Attack Flow

flowchart LR
    A([Attacker]) -->|Flood: HTTP/2 streams\nto /slow endpoint\nworker_connections=24| B[nginx 1.31.8\nHTTP/2 proxy]
    B -->|Pool saturated| C{Cleanup path\nfrees conn objects}
    A -->|RST_STREAM + TCP RST\nSO_LINGER=0 on each conn| C
    C -->|RST handler races\nproxy finalization| D[Freed conn\ndeferenced]
    D --> E([Worker SIGSEGV\nDoS / heap RCE])

    style A fill:#3d1a1a,stroke:#f85149,color:#f85149
    style E fill:#1a1f2e,stroke:#f85149,color:#f85149

PoC Usage

Warning: Lab environment only. worker_connections is set to 24 to reliably hit exhaustion.

Setup

docker compose up -d --build

The lab includes:

  • nginx 1.31.8 with TLS, HTTP/2, worker_connections: 24
  • /slow → proxy_pass backend with 3-second delay, 64 KB body
  • /health on :8080 for liveness checks

Trigger the UAF

python3 poc.py

Expected output — vulnerable nginx:

[*] flooding with HTTP/2 streams to /slow (worker_connections=24)
[*] wave 1: opened 30 streams, sending RST+TCP RST...
[*] wave 2: opened 30 streams, sending RST+TCP RST...
[+] worker crash detected (health check failed)
[!] VULNERABLE — HTTP/2 UAF under connection exhaustion confirmed
    docker compose logs nginx | grep -iE 'signal 11|segfault'

Tuning the attack

# More aggressive — more streams per wave
python3 poc.py --streams 50 --waves 5

# Slower host — fewer concurrent streams
python3 poc.py --streams 20 --waves 10

# Verbose output with timing details
python3 poc.py --verbose

Available flags

FlagDescription
--streams NHTTP/2 streams per connection wave (default: 30)
--waves NNumber of flood waves (default: 5)
--host HOSTnginx host (default: 127.0.0.1)
--port PORTHTTPS port (default: 443)
--verboseVerbose output

Expected output — patched build

sed -i 's/nginx:1.31.8/nginx:1.31.9/' nginx/Dockerfile
docker compose build --no-cache nginx && docker compose up -d
python3 poc.py
# Worker survives all waves — health checks pass

Detection

IndicatorNotes
nginx worker crash signal 11nginx error.log: "worker process exited on signal 11"
RST_STREAM flood on HTTP/2Network capture: many RST_STREAM frames from single client
worker_connections exhaustion eventsnginx status: active connections near configured maximum

Impact

Unauthenticated remote Denial of Service. With ASLR disabled or bypassed, the heap layout created by connection exhaustion may allow remote code execution. The HTTP/2 sibling of CVE-2026-121810.


Remediation

Upgrade to nginx 1.30.7 or 1.31.9.

ActionDetail
Upgrade nginx1.30.7 (stable) or 1.31.9 (mainline)
Increase worker_connectionsRaise limit to make exhaustion harder to trigger
Rate-limit RST_STREAMLimit HTTP/2 RST rate per client at firewall/WAF
Monitor worker crashesAlert on nginx workers exiting with signal 11

References

  • nginx Security Advisories: https://nginx.org/en/security_advisories.html
  • CVE-2026-121810 (HTTP/3 sibling): https://www.cve.org/CVERecord?id=CVE-2026-121810
  • CVE Record: https://www.cve.org/CVERecord?id=CVE-2026-123633

Disclaimer: For authorized security research and controlled lab use only. MIT License.

下载工具

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    927
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    555
  • 3

    redforge

    cybersecurity91/redforge

    浏览器端红队工具包,包含 102 个离线工具,用于侦察、载荷生成、凭据攻击、加密、编码和交战报告。

    360
  • 4

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    357
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT 平台,可将 Shadowserver 报告导入 MongoDB,并将其重放为交互式地图、分析、发现、公告和高管仪表板。

    324
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI原生网络安全的行动系统——在这里,意图转化为受治理的执行,证据沉淀为运营记忆,每一次操作都让下一次更出色。

    289

探索所有工具

浏览我们的工具集合

查看所有工具 →