Falhas do tipo CWE-427

921 resultados

Caminho de busca ou elemento não controlado

A aplicação procura por um recurso (arquivo, biblioteca, módulo) em múltiplos diretórios sem validar ou controlar a ordem de busca, permitindo que um atacante injete um arquivo malicioso em um caminho que será verificado primeiro. Isso leva a execução de código não autorizado ou bypass de controles de segurança.

Exemplo

Um programa em C carrega uma biblioteca dinâmica (DLL no Windows ou SO no Linux) procurando em diretórios listados em uma variável de ambiente. Se o atacante conseguir escrever um arquivo malicioso com o mesmo nome em um diretório anterior da busca (como o diretório atual), a aplicação carrega a versão maliciosa sem questionar.

Como mitigar

Use caminhos absolutos e hardcoded para recursos críticos; nunca confie em variáveis de ambiente para localizá-los. Valide hash ou assinatura digital de bibliotecas carregadas e restrinja permissões de escrita nos diretórios de busca apenas ao administrador.

CVE-2020-6785HIGHUncontrolled Search Path Element in Bosch BVMS and BVMS ViewerEPSS 0.3%CVE-2023-4632HIGHAn uncontrolled search path vulnerability was reported in Lenovo System Update that could allow an attacker with local access to execute codEPSS 0.3%CVE-2017-5147—An Uncontrolled Search Path Element issue was discovered in AzeoTech DAQFactory versions prior to 17.1. An uncontrolled search path element EPSS 0.3%CVE-2020-6244HIGHSAP Business Client, version 7.0, allows an attacker after a successful social engineering attack to inject malicious code as a DLL file in EPSS 0.3%CVE-2026-32172HIGHMicrosoft Power Apps Remote Code Execution VulnerabilityEPSS 0.3%CVE-2018-15452MEDIUMCisco Advanced Malware Protection for Endpoints on Windows DLL Preloading VulnerabilityEPSS 0.3%CVE-2025-27237HIGHDLL injection in Zabbix Agent and Agent 2 via OpenSSL configurationEPSS 0.3%CVE-2025-5480HIGHAction1 Uncontrolled Search Path Element Local Privilege Escalation VulnerabilityEPSS 0.3%CVE-2026-116243HIGHpgAdmin 4: Utility binary path can point at a shared storage directoryEPSS 0.3%CVE-2024-0670HIGHPrivilege escalation in windows agentEPSS 0.3%CVE-2023-6401MEDIUMNotePad++ dbghelp.exe uncontrolled search pathEPSS 0.3%CVE-2025-14405MEDIUMPDFsam Enhanced Uncontrolled Search Path Element Local Privilege Escalation VulnerabilityEPSS 0.3%CVE-2021-43940HIGHAffected versions of Atlassian Confluence Server and Data Center allow authenticated local attackers to achieve elevated privileges on the lEPSS 0.3%CVE-2021-4007HIGHRapid7 Insight Agent Privilege EscalationEPSS 0.3%CVE-2021-22775—A CWE-427: Uncontrolled Search Path Element vulnerability exists in GP-Pro EX,V4.09.250 and prior, that could cause local code execution witEPSS 0.3%CVE-2024-7326HIGHIObit DualSafe Password Manager BPL RTL120.BPL uncontrolled search pathEPSS 0.3%CVE-2022-23449—A vulnerability has been identified in SIMATIC Energy Manager Basic (All versions < V7.3 Update 1), SIMATIC Energy Manager PRO (All versionsEPSS 0.3%CVE-2022-34235HIGHAdobe Premiere Elements Uncontrolled Search Path Element Privilege EscalationEPSS 0.3%CVE-2021-1536MEDIUMCisco Webex Meetings, Webex Network Recording Player, and Webex Teams DLL Injection VulnerabilityEPSS 0.3%CVE-2026-22619HIGHEaton Intelligent Power Protector (IPP) is affected by insecure library loading in its executable, which could lead to arbitrary code executEPSS 0.3%