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-2021-42743HIGHLocal privilege escalation via a default path in Splunk Enterprise WindowsEPSS 0.2%CVE-2026-4546HIGHFlos Freeware Notepad2 TextShaping.dll uncontrolled search pathEPSS 0.2%CVE-2023-53937HIGHHubstaff 1.6.13 and 1.6.14 DLL Search Order Hijacking via wow64log LibraryEPSS 0.2%CVE-2026-18656HIGHExecutable Resolution from Untrusted Project Directory in Kiro IDE on WindowsEPSS 0.2%CVE-2022-36314MEDIUMWhen opening a Windows shortcut from the local filesystem, an attacker could supply a remote path that would lead to unexpected network requEPSS 0.2%CVE-2022-43722HIGHA vulnerability has been identified in SICAM PAS/PQS (All versions < V7.0). Affected software does not properly secure a folder containing lEPSS 0.2%CVE-2025-30033HIGHThe affected setup component is vulnerable to DLL hijacking. This could allow an attacker to execute arbitrary code when a legitimate user iEPSS 0.2%CVE-2025-2769HIGHBdrive NetDrive Uncontrolled Search Path Element Local Privilege Escalation VulnerabilityEPSS 0.2%CVE-2021-38410HIGHAVEVA PCS Portal Uncontrolled Search Path ElementEPSS 0.2%CVE-2025-2768HIGHBdrive NetDrive Uncontrolled Search Path Element Local Privilege Escalation VulnerabilityEPSS 0.2%CVE-2023-25005HIGHA maliciously crafted DLL file can be forced to read beyond allocated boundaries in Autodesk InfraWorks 2023, and 2021 when parsing the DLL EPSS 0.2%CVE-2025-4539HIGHHainan ToDesk DLL File Parser profapi.dll uncontrolled search pathEPSS 0.2%CVE-2023-28140MEDIUMExecutable HijackingEPSS 0.2%CVE-2022-23401—The following Yokogawa Electric products contain insecure DLL loading issues. CENTUM CS 3000 versions from R3.08.10 to R3.09.00, CENTUM VP vEPSS 0.2%CVE-2021-41544HIGHA vulnerability has been identified in Siemens Software Center (All versions < V3.0). A DLL Hijacking vulnerability could allow a local attaEPSS 0.2%CVE-2025-1131HIGHAsterisk Unsafe Shell Sourcing in safe_asterisk Leads to Local Privilege EscalationEPSS 0.2%CVE-2025-10198HIGHLizardBytes Sunshine for Windows contains a DLL search-order hijacking vulnerabilityEPSS 0.2%CVE-2026-59264HIGHApache OpenOffice: Uncontrolled search path element vulnerability in Windows installerEPSS 0.2%CVE-2023-3078HIGHAn uncontrolled search path vulnerability was reported in the Lenovo Universal Device Client (UDC) that could allow an attacker with local aEPSS 0.2%CVE-2023-31027HIGHCVEEPSS 0.2%