Fallos del tipo CWE-273

23 resultados

Falha na verificação de privilégios descartados

Ocorre quando um programa tenta reduzir seus privilégios (por exemplo, de root para usuário comum) mas não verifica se a operação foi bem-sucedida antes de continuar. Se a redução falhar silenciosamente, o código continua rodando com privilégios elevados, criando uma brecha de segurança onde operações sensíveis são executadas com mais poder do que deveriam ter.

Ejemplo

Um daemon em Linux chama setuid(unprivileged_user) para rodar como usuário comum, mas não verifica o retorno. Se a chamada falhar (permissão insuficiente, usuário não existe), o processo segue sendo root e executa operações de rede ou arquivo com privilégios indevidos.

Cómo mitigar

Sempre verificar o retorno de chamadas de sistema que mudam privilégios (setuid, setgid, etc.). Se a redução falhar, abortar a execução com erro explícito. Testar cenários onde a redução é impossível e validar que o programa se comporta de forma segura.

CVE-2024-38813HIGHPrivilege escalation vulnerabilityEPSS 17.4%KEVCVE-2019-18276HIGHAn issue was discovered in disable_priv_mode in shell.c in GNU Bash through 5.0 patch 11. By default, if Bash is run with its effective UID EPSS 2.6%CVE-2021-36372Original block tokens are persisted and can be retrievedEPSS 2.4%CVE-2024-25420HIGHAn issue in Ignite Realtime Openfire before 4.8.1 allows a remote attacker to escalate privileges via the admin.authorizedJIDs system properEPSS 1.4%CVE-2021-37839Improper access to dataset metadata informationEPSS 1.3%CVE-2023-34844Play With Docker < 0.0.2 has an insecure CAP_SYS_ADMIN privileged mode causing the docker container to escape.EPSS 0.9%CVE-2024-8382HIGHInternal browser event interfaces were exposed to web content when privileged EventHandler listener callbacks ran for those events. Web contEPSS 0.6%CVE-2021-47129HIGHnetfilter: nft_ct: skip expectations for confirmed conntrackEPSS 0.4%CVE-2025-27396HIGHA vulnerability has been identified in SCALANCE LPE9403 (6GK5998-3GS00-2AC2) (All versions < V4.0). Affected devices do not properly limit tEPSS 0.4%CVE-2022-0358A flaw was found in the QEMU virtio-fs shared file system daemon (virtiofsd) implementation. This flaw is strictly related to CVE-2018-13405EPSS 0.3%CVE-2023-0657LOWKeycloak: impersonation via logout token exchangeEPSS 0.3%CVE-2021-3982Linux distributions using CAP_SYS_NICE for gnome-shell may be exposed to a privilege escalation issue. An attacker, with low privilege permiEPSS 0.3%CVE-2026-44073MEDIUMseteuid failure ignored in auth modulesEPSS 0.3%CVE-2023-52433HIGHnetfilter: nft_set_rbtree: skip sync GC for new elements in this transactionEPSS 0.3%CVE-2026-60085HIGHPraisonAI before 4.6.78 Unenforced Security Policy in Subprocess SandboxEPSS 0.2%CVE-2025-1003HIGHHP Anyware Agent for Linux – Potential Authentication BypassEPSS 0.2%CVE-2023-34322HIGHtop-level shadow reference dropped too early for 64-bit PV guestsEPSS 0.2%CVE-2025-62175MEDIUMMastodon streaming API fails to disconnect disabled and suspended usersEPSS 0.2%CVE-2023-5369copy_file_range insufficient capability rights checkEPSS 0.2%CVE-2026-21882HIGHtheshit's Improper Privilege Dropping Allows Local Privilege Escalation via Command Re-executionEPSS 0.2%