Weaknesses of type CWE-341

15 results

Previsibilidade a partir de estado observável

Quando um sistema gera valores que deveriam ser imprevisíveis (como tokens, IDs de sessão ou números aleatórios), mas usa um estado que o atacante consegue observar ou deduzir para calcular o próximo valor. O resultado é um gerador de números aleatórios fraco que pode ser predito por quem conhece o contexto.

Example

Um servidor gera tokens de autenticação baseado no horário do sistema ou no ID do usuário visível. Um atacante observa vários tokens legítimos, descobre o padrão temporal, e consegue forjar tokens válidos para outras contas ou sessões.

How to mitigate

Use geradores de números aleatórios criptograficamente seguros (como `secrets` em Python, `java.security.SecureRandom` em Java, ou `/dev/urandom` em C). Nunca use dados observáveis (timestamp, IP, PID) como base para tokens ou sessões sensíveis.

CVE-2019-6563Moxa IKS and EDS generate a predictable cookie calculated with an MD5 hash, allowing an attacker to capture the administrator's password, whEPSS 1.7%CVE-2020-1731CRITICALA flaw was found in all versions of the Keycloak operator, before version 8.0.2,(community only) where the operator generates a random adminEPSS 1.3%CVE-2018-17917All versions of Hangzhou Xiongmai Technology Co., Ltd XMeye P2P Cloud Server may allow an attacker to use MAC addresses to enumerate potentiEPSS 1.3%CVE-2020-5365MEDIUMDell EMC Isilon versions 8.2.2 and earlier contain a remotesupport vulnerability. The pre-configured support account, remotesupport, is bundEPSS 1.0%CVE-2024-10141MEDIUMjsbroks COCO Annotator Session predictable stateEPSS 0.8%CVE-2025-40780HIGHCache poisoning due to weak PRNGEPSS 0.5%CVE-2021-4277LOWfredsmith utils Filename screenshot_sync predictable stateEPSS 0.5%CVE-2025-48461MEDIUMWeak Session Cookie EntropyEPSS 0.4%CVE-2026-38968CRITICALntopng through 6.6 is vulnerable to Predictable Session Identifier which can lead to Session Hijacking. HTTP session identifiers in src/HTTPEPSS 0.4%CVE-2026-40164HIGHjq: Algorithmic complexity DoS via hardcoded MurmurHash3 seedEPSS 0.4%CVE-2026-42365HIGHGeoVision LPC2011/LPC2211 Web Interface guessable session cookie vulnerabilityEPSS 0.3%CVE-2023-49259HIGHBruteforcing authentication cookie for a given userEPSS 0.3%CVE-2026-5081CRITICALApache::Session::Generate::ModUniqueId versions from 1.54 through 1.94 for Perl session ids are insecureEPSS 0.3%CVE-2025-42925MEDIUMPredictable Object Identifier vulnerability in SAP NetWeaver AS Java (IIOP Service)EPSS 0.2%CVE-2026-36609HIGHMercusys AC12G (EU) V1 router with firmware AC12G(EU)_V1_200909 uses a static authentication nonce that does not change between requests froEPSS 0.2%