Falhas do tipo CWE-276

953 resultados

Permissões padrão incorretas

Ocorre quando um recurso (arquivo, diretório, registro, objeto) é criado com permissões padrão que são muito permissivas, permitindo acesso não autorizado. O código não define explicitamente permissões restritivas, deixando o sistema usar padrões inseguros que muitas vezes permitem leitura ou escrita por usuários não previstos.

Exemplo

Um aplicativo cria um arquivo de configuração com credenciais em /tmp/config.ini sem definir permissões — o sistema deixa o arquivo legível por qualquer usuário local (644), expondo senhas. Ou um diretório de upload recebe 777 como padrão, permitindo que qualquer pessoa execute scripts maliciosos nele.

Como mitigar

Sempre defina permissões explícitas e restritivas no momento da criação (umask 0077 para sensíveis, validar permissões em código). Para arquivos com secrets, use 0600 (apenas proprietário); para diretórios de aplicação, 0755 no máximo. Valide periodicamente permissões em produção e documente o modelo de acesso esperado.

CVE-2025-24277HIGHA parsing issue in the handling of directory paths was addressed with improved path validation. This issue is fixed in macOS Sequoia 15.4, mEPSS 0.3%CVE-2025-5255MEDIUMTCC Bypass via Dylib Injection in Phoenix CodeEPSS 0.3%CVE-2025-67230HIGHImproper permissions in the handler for the Custom URL Scheme in ToDesktop Builder v0.33.0 allows attackers with renderer-context access to EPSS 0.2%CVE-2022-31254HIGHrmt-server-pubcloud allows to escalate from user _rmt to rootEPSS 0.2%CVE-2024-23201MEDIUMA permissions issue was addressed with additional restrictions. This issue is fixed in iOS 17.3 and iPadOS 17.3, macOS Monterey 12.7.4, macOEPSS 0.2%CVE-2020-8346MEDIUMA denial of service vulnerability was reported in the Lenovo Vantage component called Lenovo System Interface Foundation prior to version 1.EPSS 0.2%CVE-2022-27652A flaw was found in cri-o, where containers were incorrectly started with non-empty default permissions. A vulnerability was found in Moby (EPSS 0.2%CVE-2024-27152HIGHLocal Privilege Escalation and Remote Code Execution using insecure permissionsEPSS 0.2%CVE-2024-27167HIGHInsecure permissionsEPSS 0.2%CVE-2024-6238HIGHpgAdmin 4 Installation Directory permission issueEPSS 0.2%CVE-2024-27150HIGHLocal Privilege Escalation and Remote Code Execution using insecure LD_LIBRARY_PATHEPSS 0.2%CVE-2022-4020HIGHAcer Aspire BIOS vulnerabilityEPSS 0.2%CVE-2024-27149HIGHLocal Privilege Escalation and Remote Code Execution using insecure LD_PRELOADEPSS 0.2%CVE-2024-27148HIGHLocal Privilege Escalation and Remote Code Execution using insecure PATHEPSS 0.2%CVE-2024-27153HIGHLocal Privilege Escalation and Remote Code ExecutionEPSS 0.2%CVE-2025-44643HIGHCertain Draytek products are affected by Insecure Configuration. This affects AP903 v1.4.18 and AP912C v1.4.9 and AP918R v1.4.9. The settingEPSS 0.2%CVE-2020-11921HIGHAn issue was discovered in Lush 2 through 2020-02-25. Due to the lack of Bluetooth traffic encryption, it is possible to hijack an ongoing BEPSS 0.2%CVE-2023-32405A logic issue was addressed with improved checks. This issue is fixed in macOS Big Sur 11.7.7, macOS Monterey 12.6.6, macOS Ventura 13.4. AnEPSS 0.2%CVE-2026-86359HIGHDell Repository Manager, versions prior to 3.5.2, contains an Incorrect Default Permissions vulnerability. A low privileged attacker with reEPSS 0.2%CVE-2022-37018HIGHA potential vulnerability has been identified in the system BIOS for certain HP PC products which may allow escalation of privileges and codEPSS 0.2%