Skip to content
KitploitKITPLOIT
StrumentiExploitsBlog
Log in
Invia
StrumentiExploitsBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

FeedContattoPrivacy© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
CVE-2026-120993 — Docker-based PoC lab reproducing CVE-2026-120993, an nginx stream SSL NULL pointer dereference DoS triggered by PROXY protocol v2 headers lacking SNI TLVs plus TLS session resumption. | Kitploit
Strumenti/GitHubGitHub/llcforge/cve-2026-120993
Web Vulnerability ScannersVulnerability AnalysisExploitationNetwork SecurityLabs & Practice
GitHubllcforge/cve-2026-120993

CVE-2026-120993

Docker-based PoC lab reproducing CVE-2026-120993, an nginx stream SSL NULL pointer dereference DoS triggered by PROXY protocol v2 headers lacking SNI TLVs plus TLS session resumption.

Vedi Repository
1 giorno faNon ancora revisionato

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 Il toolkit OSINT definitivo: grafo di indagine, punteggio di affidabilità, famiglie di alias, mappa, timeline e report. 49 moduli, oltre 400 siti, nessuna chiave API richiesta.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # App di esecuzione con un tocco GhostLock (CVE-2026-43499)

    593
  • 3

    looking-glass

    anonghosty/looking-glass

    Piattaforma CSIRT che importa i report di Shadowserver in MongoDB e li riproduce come mappe interattive, analisi, risultati, avvisi e dashboard executive.

    371
  • 4

    redforge

    cybersecurity91/redforge

    Toolkit red team lato browser con 102 strumenti offline per ricognizione, generazione di payload, attacchi alle credenziali, crittografia, codifica e reportistica dell'engagement.

    336
  • 5

    ARTEX

    baarai/artex

    Piattaforma di penetration testing autonoma multi-agente basata su LLM con agenti planner/worker, grafi di asset e di esplorazione, registrazione del traffico MITM e retesting delle vulnerabilità.

    326
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    Il sistema d'azione per la cybersecurity nativa AI—dove l'intento diventa esecuzione governata, le evidenze diventano memoria operativa, e ogni operazione migliora la successiva.

    322

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi
Contenuto non disponibile nella lingua richiesta. Visualizzazione della versione inglese.

CVE-2026-120993

nginx — NULL Pointer Dereference via PROXY Protocol v2 + Dynamic Certificates

CVSS CWE Language Fixed Disclosed


Overview

nginx's stream SSL module crashes (SIGSEGV) when a PROXY protocol v2 header that omits the server-name TLV is combined with a variable-based ssl_certificate directive and TLS session resumption. The missing TLV leaves $ssl_server_name empty, causing a NULL SSL_CTX * to be dereferenced during the resumption path.

FieldValue
CVECVE-2026-120993
CVSS 3.15.3 Medium — AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CWECWE-476 (NULL Pointer Dereference)
Componentngx_stream_ssl_module + PROXY protocol v2
Affectednginx 1.31.4 – 1.31.8
Fixednginx 1.31.9
Auth RequiredNone
Disclosed2026-11-18

Vulnerability Details

When proxy_protocol and a variable-based ssl_certificate are both active on a stream listener, nginx reads $ssl_server_name from PROXY protocol v2 TLVs (specifically PP2_TYPE_AUTHORITY / PP2_TYPE_SSL). A PROXY v2 header that omits these TLVs leaves $ssl_server_name empty. The dynamic certificate lookup resolves to an empty path, returning a NULL SSL_CTX *. During TLS session resumption nginx dereferences this NULL pointer, causing a worker crash (SIGSEGV).

Lab layout:

client (poc.py) → PROXY v2 (no SNI TLV) + TLS :9443
                → nginx:1.31.8 stream SSL + proxy_protocol
                → backend:9000 (raw TCP)
health check: :8080/health

Attack Flow

flowchart LR
    A([Attacker]) -->|PROXY v2 header\nNo PP2_TYPE_AUTHORITY TLV\n+ TLS ClientHello| B[nginx 1.31.4-1.31.8\nstream + proxy_protocol]
    B -->|ssl_server_name empty\nssl_certificate lookup\nreturns NULL ctx| C{TLS session\nresumption}
    C -->|Dereferences\nNULL SSL_CTX*| D[Worker SIGSEGV\nDoS]

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

PoC Usage

Warning: Docker Compose lab environment only.

Setup

docker compose up --build -d
sleep 5

Trigger the NULL deref

python3 poc.py

Expected output — vulnerable nginx:

[*] sending PROXY v2 (no SNI TLV) + TLS ClientHello to 127.0.0.1:9443
[+] connection established
[*] sending session resumption request...
[*] health check: 127.0.0.1:8080 — TIMEOUT
[!] VULNERABLE — nginx worker stopped responding (NULL deref crash)

Variants

# Default: PROXY v2 without SNI TLV + TLS resumption
python3 poc.py

# PROXY v2 with SNI TLV (baseline — should not crash)
python3 poc.py --mode with-sni

# Repeated stress (confirm reproducibility)
python3 poc.py --count 10

Available flags

FlagDescription
--host HOSTnginx host (default: 127.0.0.1)
--port PORTStream port (default: 9443)
--health-port PORTHealth check port (default: 8080)
--mode no-sni|with-sniPROXY v2 TLV mode (default: no-sni)
--count NNumber of trigger attempts

Expected output — patched build (nginx 1.31.9)

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
# nginx handles missing TLV gracefully
# [+] NOT vulnerable — health check passed after all attempts

Monitor for crashes

docker compose logs nginx | grep -E "worker process|signal 11|segfault"

Detection

IndicatorNotes
nginx worker crash signal 11nginx error.log: "worker process exited on signal 11"
PROXY v2 connections without SNI TLVNetwork capture: PROXY v2 header missing PP2_TYPE_AUTHORITY
Dynamic cert path resolving to empty stringnginx debug log: empty ssl_certificate after variable expansion

Impact

Unauthenticated remote Denial of Service. A single crafted PROXY v2 connection crashes the nginx worker. Any load balancer that forwards PROXY protocol headers to nginx on a dynamic-cert stream listener is vulnerable.


Remediation

Upgrade to nginx 1.31.9. The fix validates the SSL_CTX * before proceeding with session resumption.

ActionDetail
Upgrade nginx1.31.9 (mainline)
Validate PROXY v2 TLVsAdd upstream load balancer rules to require PP2_TYPE_AUTHORITY
Monitor worker restartsAlert on nginx workers exiting with signal 11

References

  • nginx Security Advisories: https://nginx.org/en/security_advisories.html
  • CWE-476: https://cwe.mitre.org/data/definitions/476.html
  • CVE Record: https://www.cve.org/CVERecord?id=CVE-2026-120993

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

Scarica lo strumento