Fallos del tipo CWE-759

18 resultados

Uso de hash unidirecional sem sal

É quando o desenvolvedor aplica uma função de hash (como MD5 ou SHA-1) direto em dados sensíveis sem adicionar um valor aleatório único (sal) antes. Isso permite que atacantes usem tabelas pré-calculadas (rainbow tables) para recuperar o valor original em segundos, especialmente para senhas fracas ou comuns.

Ejemplo

Um sistema armazena senha como `hash = md5(senha_do_usuario)`. Um atacante que consegue a base de dados pode comparar cada hash com uma rainbow table pública e descobrir senhas em minutos. Se o código tivesse usado `hash = md5(sal_aleatorio + senha)`, a tabela pré-calculada seria inútil.

Cómo mitigar

Use funções de hash modernas com sal integrado, como bcrypt, scrypt ou argon2, que geram o sal automaticamente e são computacionalmente caras. Nunca use MD5, SHA-1 ou SHA-256 puro para senhas — reserve essas apenas para verificação de integridade (checksums), não autenticação.

CVE-2023-1430MEDIUMFluentCRM - Marketing Automation For WordPress <= 2.8.01 - Insufficient Use of Hash as Authorization ControlEPSS 0.8%CVE-2021-21253MEDIUMUse of a One-Way Hash without a Salt in OnlineVotingSystemEPSS 0.7%CVE-2020-16244GE Digital APM Classic, Versions 4.4 and prior. Salt is not used for hash calculation of passwords, making it possible to decrypt passwords.EPSS 0.7%CVE-2020-25164MEDIUMB. Braun SpaceCom, Battery Pack SP with Wi-Fi, and Data module compactplusEPSS 0.6%CVE-2025-34208HIGHVasion Print (formerly PrinterLogic) Insecure Password HashingEPSS 0.4%CVE-2024-8453MEDIUMPLANET Technology switch devices - Weak hash for users' passwordsEPSS 0.3%CVE-2024-36440MEDIUMAn issue was discovered on Swissphone DiCal-RED 4009 devices. An attacker with access to the file /etc/deviceconfig may recover the administEPSS 0.3%CVE-2023-33838MEDIUMIBM Security Verify Governance information disclosureEPSS 0.2%CVE-2025-36253MEDIUMMultiple Vulnerabilities in IBM Concert Software.EPSS 0.2%CVE-2026-9370MEDIUMulisesbocchio jasypt-spring-boot Password Hash SimpleGCMConfig.java getSecretKeySaltGenerator hash predictable saltEPSS 0.2%CVE-2025-10205HIGHPredictable Salt and Weak Hashing AlgorithmEPSS 0.2%CVE-2025-53884MEDIUMNeuVector has an insecure password storage vulnerable to rainbow attackEPSS 0.2%CVE-2025-27408MEDIUMManifest Uses a One-Way Hash without a SaltEPSS 0.2%CVE-2026-45027MEDIUMWeGIA: Use of Weak Password Hashing Algorithm (SHA-256, no salt) in html/login.phpEPSS 0.1%CVE-2025-15544MEDIUMWeak Credential Protection During TP-Link Omada Device AdoptionEPSS 0.1%CVE-2026-45787MEDIUMelecterm's encrypt method not safe enoughEPSS 0.1%CVE-2025-15631MEDIUMWeak Credential Storage in TP-Link Omada DevicesEPSS 0.1%CVE-2025-5922MEDIUMRetrievable password hash protecting TSplus admin consoleEPSS 0.1%