Falhas do tipo CWE-427

922 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-2022-34235HIGHAdobe Premiere Elements Uncontrolled Search Path Element Privilege EscalationEPSS 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%CVE-2021-36631MEDIUMUntrusted search path vulnerability in Baidunetdisk Version 7.4.3 and earlier allows an attacker to gain privileges via a Trojan horse DLL iEPSS 0.3%CVE-2026-25129MEDIUMPsySH has Local Privilege Escalation via CWD .psysh.php auto-loadEPSS 0.3%CVE-2023-44220—SonicWall NetExtender Windows (32-bit and 64-bit) client 10.2.336 and earlier versions have a DLL Search Order Hijacking vulnerability in thEPSS 0.3%CVE-2019-3750MEDIUMDell Command Update versions prior to 3.1 contain an Arbitrary File Deletion Vulnerability. A local authenticated malicious user with low prEPSS 0.3%CVE-2019-3749MEDIUMDell Command Update versions prior to 3.1 contain an Arbitrary File Deletion Vulnerability. A local authenticated malicious user with low prEPSS 0.3%CVE-2021-1593HIGHCisco Packet Tracer for Windows DLL Injection VulnerabilityEPSS 0.3%CVE-2023-22947HIGHInsecure folder permissions in the Windows installation path of Shibboleth Service Provider (SP) before 3.4.1 allow an unprivileged local atEPSS 0.3%CVE-2022-22528—SAP Adaptive Server Enterprise (ASE) - version 16.0, installation makes an entry in the system PATH environment variable in Windows platformEPSS 0.3%CVE-2025-32917MEDIUMPrivilege escalation in jar_signatureEPSS 0.3%CVE-2025-5180HIGHWondershare Filmora Installer NFWCHK.exe uncontrolled search pathEPSS 0.3%CVE-2022-22996HIGHSanDisk Professional G-RAID 4/8 Software Utility, Privilege EscalationEPSS 0.3%CVE-2022-48077HIGHGenymotion Desktop v3.3.2 was discovered to contain a DLL hijacking vulnerability that allows attackers to escalate privileges and execute aEPSS 0.3%CVE-2025-23177HIGHRibbon Communications - CWE-427: Uncontrolled Search Path ElementEPSS 0.3%CVE-2026-48388HIGHPhotoshop Installer | CWE-427: Uncontrolled Search Path ElementEPSS 0.3%CVE-2020-6021—Check Point Endpoint Security Client for Windows before version E84.20 allows write access to the directory from which the installation repaEPSS 0.3%CVE-2023-6891MEDIUMPeaZip Library dragdropfilesdll.dll uncontrolled search pathEPSS 0.3%CVE-2024-7834HIGHLocal privilege escalation in OverwolfEPSS 0.3%CVE-2022-48422HIGHONLYOFFICE Docs through 7.3 on certain Linux distributions allows local users to gain privileges via a Trojan horse libgcc_s.so.1 in the curEPSS 0.3%