Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

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

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

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
cve-2026-42533 — Exploit code for CVE-2026-42533, providing proof-of-concept implementation for the specified vulnerability. | Kitploit
工具/GitHubGitHub/franklinf25/cve-2026-42533
Exploitation
GitHubfranklinf25/cve-2026-42533

cve-2026-42533

Exploit code for CVE-2026-42533, providing proof-of-concept implementation for the specified vulnerability.

查看仓库
119天前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
内容在请求的语言中不可用。显示英文版本。

CVE-2026-42533 — NGINX Pre-Auth Heap Overflow: Analysis & RCE

Full-chain security research on CVE-2026-42533 (CVSS 4.0 9.2 CRITICAL): a heap buffer overflow in NGINX's script engine where a regex-based map clobbers the shared capture state between the length and copy passes of a complex-value evaluation — reachable pre-authentication on both the HTTP and stream (TLS SNI) surfaces.

Result: pre-auth remote code execution (system() as the worker user) in a pinned lab, reproduced 3/3 — plus an independent HTTP-module research chain that maps the bug's primitives from root cause to deterministic worker compromise.

Verification matrix

ClaimEvidence
Root cause derived from the fix commits (not from blogs)finding-sheet
Safe detector: vulnerable vs patched oracle, zero crashespoc/diagnose.py (divergence served vs 500 no buffer space)
Deterministic worker DoS (heap-corruption abort, core dump)poc/crash.py — 2/2, X-Worker-PID change proves worker death
Arbitrary-byte overflow incl. NULs (pointer-capable write)HTTP body-map primitive, raw-upstream dump verified
Pre-auth RCE, ASLR defeated at runtime (no lab crutches)exploit/stream_rce.py — 3/3, leak + spray + session rebuild

Quick start

root@kitploit:~
# stream variant: the full chain (build is a pinned nginx rev, ~3 min)
cd lab/stream && docker compose up -d --build && cd ../..
python3 exploit/stream_rce.py --host 127.0.0.1 --port 29443 \
    --cmd 'echo pwned-by-cve-2026-42533 > /tmp/proof'
docker compose -f lab/stream/docker-compose.yml exec nginx-rce cat /tmp/proof

# HTTP variant: deterministic crash PoC + safe detector
cd lab && docker compose up -d --build && cd ..
python3 poc/crash.py 127.0.0.1 8080          # worker aborts, core dumped
python3 poc/diagnose.py 127.0.0.1 8080      # VULNERABLE / PATCHED oracle

Documents

DocWhat it is
docs/finding-sheet.mdOne-page datasheet: versions, CVSS, config patterns, detection signatures

What is original here vs prior work

The HTTP-module research chain is original work: the asymmetric lengths/values script compilation measured empirically, the three-copies value-pass law, the NUL-preserving body-map primitive, and the allocator abort-chain forensics. The completed stream-variant RCE follows the published approach of DepthFirst Disclosures (a credited reporter) with attribution — see the writeup's Prior work section for the technique-by-technique comparison of both chains.

Companion research

This repo shares its methodology with CVE-2026-42945 — NGINX Rewrite Heap Overrun: Analysis & Deterministic DoS (sibling repo): the same two-pass length/value bug class in the nginx script engine, reached there through rewrite/is_args — differential detector plus deterministic worker DoS, with the RCE question left open.

Repository layout

root@kitploit:~
docs/            finding sheet · PTES report · research writeup
poc/             diagnose.py (safe oracle) · crash.py (deterministic DoS)
exploit/
  stream_rce.py  full RCE chain (leak → spray → session rebuild → system)
  exploit.py     HTTP-module chain (research artifact, near-closure)
lab/             HTTP lab (vulnerable 1.31.2 + patched 1.31.3, backends)
lab/stream/      pinned-build lab for the stream variant

References

  • F5 advisory K000162097 · NVD
  • Fix series (nginx 1.31.3): b767540, a8289aa, 0cca8e0
  • DepthFirst Disclosures — Nginx-Rift (stream variant)

Educational research artifact. Run only against systems you own or are explicitly authorized to test. The vulnerability is patched — upgrade nginx to ≥ 1.30.4 / ≥ 1.31.3.

下载工具
docs/report-ptes.mdFull PTES-structured report (7 phases) with lab evidence
docs/research-writeup.mdThe investigation narrative — methodology, dead ends, portable lessons, prior-work comparison