1. Archivio CVE
  2. 2026
  3. CVE-2026-75870

CVE-2026-75870

9.1 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N 9.1 – Critica

Descrizione

Punk versions before 0.18 for Perl allow session cookie forgery via an empty default HMAC key when a session is declared without a secret. The session keyword freezes its options onto the application as given: it does not require a secret, warn, or refuse to start when one is absent. The cookie read and the write-back both default that key to the empty string, so a declaration with no secret option, or with an undefined or empty one, signs and verifies with a zero-length HMAC-SHA256 key. An attacker who knows the cookie format can then mint one offline carrying any contents the session holds, such as a user identifier or a role. Nothing marks the misconfiguration at runtime: cookies are well formed and sessions round-trip as expected.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
– punk < 0.18 –

Tipo di vulnerabilità

CWE-1394 Use of Default Cryptographic Key

The product uses a default cryptographic key for potentially critical functionality.

Impatto sui sistemi

AmbitoImpatto
Autenticazione Ottenere privilegi o assumere un’altra identità

Come si previene

Requisiti Prohibit use of default, hard-coded, or other values that do not vary for each installation of the product - especially for separate organizations.
Architettura e progettazione Force the administrator to change the credential upon installation.
Installazione · Esercizio The product administrator could change the defaults upon installation or during operation.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 30 CVE di tipo CWE-1394, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org