Falhas do tipo CWE-276

973 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-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-2024-27152HIGHLocal Privilege Escalation and Remote Code Execution using insecure permissionsEPSS 0.2%CVE-2024-27167HIGHInsecure permissionsEPSS 0.2%CVE-2022-4020HIGHAcer Aspire BIOS vulnerabilityEPSS 0.2%CVE-2024-27153HIGHLocal Privilege Escalation and Remote Code ExecutionEPSS 0.2%CVE-2024-27150HIGHLocal Privilege Escalation and Remote Code Execution using insecure LD_LIBRARY_PATHEPSS 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%CVE-2024-27149HIGHLocal Privilege Escalation and Remote Code Execution using insecure LD_PRELOADEPSS 0.2%CVE-2024-6238HIGHpgAdmin 4 Installation Directory permission issueEPSS 0.2%CVE-2024-27148HIGHLocal Privilege Escalation and Remote Code Execution using insecure PATHEPSS 0.2%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-2023-32405—A 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-2025-15333MEDIUMTanium addressed an information disclosure vulnerability in Threat Response.EPSS 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-2022-27652—A 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-2025-7195MEDIUMOperator-sdk: privilege escalation due to incorrect permissions of /etc/passwdEPSS 0.2%CVE-2024-6974HIGHCato Networks Windows SDP Client Local Privilege Escalation via self-upgradeEPSS 0.2%CVE-2024-29967MEDIUMIn Brocade SANnav before v2.31 and v2.3.0a, it was observed that Docker instances inside the appliance have insecure mount pointsEPSS 0.2%