Falhas do tipo CWE-276

980 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-2024-21937HIGHIncorrect default permissions in the AMD HIP SDK installation directory could allow an attacker to achieve privilege escalation potentially EPSS 0.3%CVE-2021-3155LOWsnapd created ~/snap with too-wide permissionsEPSS 0.3%CVE-2025-55132LOWA flaw in Node.js's permission model allows a file's access and modification timestamps to be changed via `futimes()` even when the process EPSS 0.3%CVE-2020-10049—A vulnerability has been identified in SIMATIC RTLS Locating Manager (All versions < V2.10.2). The start-stop scripts for the services of thEPSS 0.3%CVE-2025-15334MEDIUMTanium addressed an information disclosure vulnerability in Threat Response.EPSS 0.3%CVE-2025-15335MEDIUMTanium addressed an information disclosure vulnerability in Threat Response.EPSS 0.3%CVE-2022-38583HIGHOn versions of Sage 300 2017 - 2022 (6.4.x - 6.9.x) which are setup in a "Windows Peer-to-Peer Network" or "Client Server Network" configuraEPSS 0.3%CVE-2023-38960HIGHInsecure Permissions issue in Raiden Professional Server RaidenFTPD v.2.4 build 4005 allows a local attacker to gain privileges and execute EPSS 0.3%CVE-2023-52717MEDIUMPermission verification vulnerability in the lock screen module. Impact: Successful exploitation of this vulnerability will affect availabilEPSS 0.3%CVE-2020-1985HIGHSecdo: Incorrect Default PermissionsEPSS 0.3%CVE-2023-50612HIGHInsecure Permissions vulnerability in fit2cloud Cloud Explorer Lite version 1.4.1, allow local attackers to escalate privileges and obtain sEPSS 0.3%CVE-2022-31072LOWOctokit gem published with world-writable filesEPSS 0.3%CVE-2021-25319HIGHvirtualbox: missing sticky bit for /etc/vbox allows local root exploit for members of vboxusers groupEPSS 0.3%CVE-2023-44157LOWLocal privilege escalation due to insecure folder permissions. The following products are affected: Acronis Cyber Protect 15 (Windows) beforEPSS 0.3%CVE-2021-20269—A flaw was found in the permissions of a log file created by kexec-tools. This flaw allows a local unprivileged user to read this file and lEPSS 0.3%CVE-2024-44100HIGHAndroid before 2024-10-05 on Google Pixel devices allows information disclosure in the modem component, A-299774545.EPSS 0.3%CVE-2024-44224HIGHA permissions issue was addressed with additional restrictions. This issue is fixed in macOS Sequoia 15.2, macOS Sonoma 14.7.2, macOS VenturEPSS 0.3%CVE-2022-20474HIGHIn readLazyValue of Parcel.java, there is a possible loading of arbitrary code into the System Settings app due to a confused deputy. This cEPSS 0.3%CVE-2025-5255MEDIUMTCC Bypass via Dylib Injection in Phoenix CodeEPSS 0.3%CVE-2022-20456HIGHIn AutomaticZenRule of AutomaticZenRule.java, there is a possible failure to persist permissions settings due to resource exhaustion. This cEPSS 0.3%