Weaknesses of type CWE-428

355 results

Caminho de busca ou elemento sem aspas

Ocorre quando o código procura executar um programa ou carregar uma biblioteca sem envolver o caminho em aspas, permitindo que espaços ou caracteres especiais no caminho sejam interpretados como separadores. Um atacante pode criar um executável em um diretório intermediário (ex: C:\Program Files\) e fazer com que o programa execute seu arquivo malicioso em vez do legítimo.

Example

Uma aplicação tenta chamar C:\Program Files\MyApp\tool.exe sem aspas. Se o Windows procura em C:\Program.exe primeiro (por causa do espaço), um atacante pode colocar um programa malicioso em C:\ com esse nome e ganhar execução de código.

How to mitigate

Sempre envolva caminhos completos em aspas duplas ("C:\\Program Files\\MyApp\\tool.exe") ou use APIs que aceitam argumentos separados (sem passar por shell parsing). Valide e normalize caminhos antes de usá-los.

CVE-2020-28209HIGHA CWE-428 Windows Unquoted Search Path vulnerability exists in EcoStruxure Building Operation Enterprise Server installer V1.9 - V3.1 and EnEPSS 0.3%CVE-2021-35231MEDIUMUnquoted Path (SMB Login) VulnerabilityEPSS 0.3%CVE-2020-35152MEDIUMPrivilege escalation through unquoted service binary path on Cloudflare WARP for WindowsEPSS 0.3%CVE-2024-3640HIGHRockwell Automation FactoryTalk® Remote Access™ has Unquoted ExecutablesEPSS 0.3%CVE-2021-23197MEDIUMUnquoted service path vulnerability in the Gallagher Controller Service allows an unprivileged user to execute arbitrary code as the accountEPSS 0.3%CVE-2020-36879HIGHFlexsense DiskBoss Service Unquoted Service Path VulnerabilityEPSS 0.3%CVE-2024-8996HIGHGrafana Agent Flow on Windows Unquoted service pathEPSS 0.3%CVE-2022-2147MEDIUMUnquoted Service Path in Cloudflare WARP for WindowsEPSS 0.3%CVE-2022-50901HIGHWondershare Dr.Fone 11.4.9 - 'DFWSIDService' Unquoted Service PathEPSS 0.3%CVE-2022-50903HIGHWondershare MobileTrans 3.5.9 - 'ElevationService' Unquoted Service PathEPSS 0.3%CVE-2020-36928HIGHBrother BRAgent 1.38 - 'WBA_Agent_Client' Unquoted Service PathEPSS 0.3%CVE-2021-47787HIGHTotalAV 5.15.69 - Unquoted Service PathEPSS 0.3%CVE-2020-36929HIGHBrother BRPrint Auditor 3.0.7 - 'Multiple' Unquoted Service PathEPSS 0.3%CVE-2022-31591SAP BusinessObjects BW Publisher Service - versions 420, 430, uses a search path that contains an unquoted element. A local attacker can gaiEPSS 0.3%CVE-2021-47780HIGHMacro Expert 4.7 - Unquoted Service PathEPSS 0.3%CVE-2023-4991HIGHNextBX QWAlerter QWAlerter.exe unquoted search pathEPSS 0.2%CVE-2024-1618HIGHUnquoted item or search path vulnerability in Faronics Deep Freeze Server StandardEPSS 0.2%CVE-2022-31590SAP PowerDesigner Proxy - version 16.7, allows an attacker with low privileges and has local access, with the ability to work around system’EPSS 0.2%CVE-2020-36930HIGHSysGauge 7.9.18 - ' SysGauge Server' Unquoted Service PathEPSS 0.2%CVE-2020-36927HIGHDiskPulse 13.6.14 - Unquoted Service PathEPSS 0.2%