Fallos del tipo CWE-862

7119 resultados

Falta de verificação de autorização

O software permite que um usuário acesse recursos ou execute ações sem verificar se ele tem permissão para isso. O código autentica (confirma quem é), mas não autoriza (verifica o que pode fazer). Resultado: qualquer autenticado pode fazer o que quiser — ler dados de outros usuários, deletar registros, alterar configurações.

Ejemplo

Uma API de banco de dados que autentica o cliente via token JWT, mas retorna qualquer registro solicitado sem checar se o usuário é dono do dado. Um usuário autenticado consegue consultar CPF, conta bancária e extrato de qualquer outro cliente apenas mudando um parâmetro ID na requisição.

Cómo mitigar

Implemente controle de acesso em cada operação sensível: antes de retornar um recurso, valide se o usuário autenticado tem permissão (via papel, proprietário, ou ACL). Use um padrão consistente — biblioteca de autorização, middleware ou serviço centralizado — para não deixar brechas espalhadas no código.

CVE-2022-47492MEDIUMIn soter service, there is a possible missing permission check. This could lead to local denial of service with no additional execution privEPSS 0.1%CVE-2025-46586MEDIUMPermission control vulnerability in the contacts module Impact: Successful exploitation of this vulnerability may affect availability.EPSS 0.1%CVE-2022-47490MEDIUMIn soter service, there is a possible missing permission check. This could lead to local denial of service with no additional execution privEPSS 0.1%CVE-2023-21001HIGHIn onContextItemSelected of NetworkProviderSettings.java, there is a possible way for users to change the Wi-Fi settings of other users due EPSS 0.1%CVE-2022-47493MEDIUMIn soter service, there is a possible missing permission check. This could lead to local denial of service with no additional execution privEPSS 0.1%CVE-2022-47359MEDIUMIn log service, there is a missing permission check. This could lead to local denial of service in log service.EPSS 0.1%CVE-2022-47483MEDIUMIn telephony service, there is a missing permission check. This could lead to local denial of service in telephone service with no additionaEPSS 0.1%CVE-2022-48377MEDIUMIn dialer service, there is a possible missing permission check. This could lead to local denial of service with no additional execution priEPSS 0.1%CVE-2022-47482MEDIUMIn telephony service, there is a missing permission check. This could lead to local denial of service in telephone service with no additionaEPSS 0.1%CVE-2022-48375MEDIUMIn contacts service, there is a possible missing permission check. This could lead to local denial of service with no additional execution pEPSS 0.1%CVE-2022-47360MEDIUMIn log service, there is a missing permission check. This could lead to local denial of service in log service.EPSS 0.1%CVE-2023-21021HIGHIn isTargetSdkLessThanQOrPrivileged of WifiServiceImpl.java, there is a possible way for the guest user to change admin user network settingEPSS 0.1%CVE-2022-48379MEDIUMIn dialer service, there is a possible missing permission check. This could lead to local denial of service with no additional execution priEPSS 0.1%CVE-2023-30863HIGHIn Connectivity Service, there is a possible missing permission check. This could lead to local escalation of privilege with no additional eEPSS 0.1%CVE-2023-30864HIGHIn Connectivity Service, there is a possible missing permission check. This could lead to local escalation of privilege with no additional eEPSS 0.1%CVE-2023-21029MEDIUMIn register of UidObserverController.java, there is a missing permission check. This could lead to local information disclosure of app usageEPSS 0.1%CVE-2024-40677HIGHIn shouldSkipForInitialSUW of AdvancedPowerUsageDetail.java, there is a possible way to bypass factory reset protections due to a missing peEPSS 0.1%CVE-2022-48378MEDIUMIn engineermode service, there is a possible missing permission check. This could lead to local denial of service with no additional executiEPSS 0.1%CVE-2023-30915MEDIUMIn email service, there is a missing permission check. This could lead to local information disclosure with no additional execution privilegEPSS 0.1%CVE-2023-30865MEDIUMIn dialer service, there is a missing permission check. This could lead to local information disclosure with no additional execution privileEPSS 0.1%