Fallos del tipo CWE-760

12 resultados

Uso de hash unidirecional com sal previsível

Fraqueza onde uma senha ou dado sensível é protegido com hash, mas o sal (valor aleatório misturado antes do hash) é previsível ou reutilizado. Isso permite que um atacante precalcule hashes válidos (ataques de dicionário ou arco-íris) e derrote a proteção do hash, mesmo que o algoritmo em si seja criptograficamente forte.

Ejemplo

Um sistema gera o sal sempre baseado no ID do usuário (ex: 'user_123') em vez de usar bytes aleatórios; um atacante cria uma tabela com hashes pré-computados para esse sal fixo e consegue quebrá-lo rapidamente. Ou sistema usa salt vazio/padrão para todos os usuários, neutralizando a vantagem do salt.

Cómo mitigar

Use geradores de números aleatórios criptograficamente seguros (ex: `secrets` do Python, `/dev/urandom` em Linux) para criar um sal único e impraticável de adivinhar. Melhor ainda: use funções de derivação de chave especializadas como bcrypt, scrypt ou Argon2, que já implementam salt aleatório interno e são resistentes a ataques paralelos.

CVE-2021-38314MEDIUMGutenberg Template Library & Redux Framework <= 4.2.11 Sensitive Information DisclosureEPSS 29.0%CVE-2020-28214CRITICALA CWE-760: Use of a One-Way Hash with a Predictable Salt vulnerability exists in Modicon M221 (all references, all versions), that could allEPSS 0.7%CVE-2024-38881HIGHAn issue in Horizon Business Services Inc. Caterease 16.0.1.1663 through 24.0.1.2405 and possibly later versions, allows a remote attacker tEPSS 0.4%CVE-2023-22599HIGH InHand Networks InRouter 302, prior to version IR302 V3.5.56, and InRouter 615, prior to version InRouter6XX-S-V2.3.0.r5542, contain vulnerEPSS 0.3%CVE-2026-121450HIGHCFNext before 3.1.0 Admin Password Recovery via MD5-Derived Subscription UUIDEPSS 0.3%CVE-2025-9290MEDIUMAuthentication Weakness on Omada Controllers, Gateways and Access PointsEPSS 0.2%CVE-2024-13951MEDIUMOne way hash with predictable saltEPSS 0.2%CVE-2018-5552LOWDocuTrac DTISQLInstaller.exe Hard-Coded SaltEPSS 0.2%CVE-2026-9370MEDIUMulisesbocchio jasypt-spring-boot Password Hash SimpleGCMConfig.java getSecretKeySaltGenerator hash predictable saltEPSS 0.2%CVE-2026-82759LOWReversible IP address pseudonymisation in AshAuthentication audit log hash modeEPSS 0.1%CVE-2026-46749MEDIUMA vulnerability has been identified in SINEC INS (All versions < V1.0 SP2 Update 6). The affected application uses a password hashing implemEPSS 0.1%CVE-2025-26486MEDIUMBroken or Risky Cryptographic Algorithm, Use of Password Hash With Insufficient Computational Effort, Use of Weak Hash, Use of a One-Way HEPSS 0.1%