Weaknesses of type CWE-428

358 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-2021-47869HIGHBRAdmin Professional 3.75 - 'BRA_Scheduler' Unquoted Service PathEPSS 0.2%CVE-2026-57223HIGHSuricata windows: unquoted LocalSystem service ImagePath can allow local privilege escalationEPSS 0.2%CVE-2021-47883HIGHSandboxie Plus v0.7.2 - 'SbieSvc' Unquoted Service PathEPSS 0.2%CVE-2020-36980HIGHSAntivirus IC 10.0.21.61 - 'SAntivirusIC' Unquoted Service PathEPSS 0.2%CVE-2020-36959HIGHIDT PC Audio 1.0.6499.0 - 'STacSV' Unquoted Service PathEPSS 0.2%CVE-2020-36958HIGHKite 1.2020.1119.0 - 'KiteService' Unquoted Service PathEPSS 0.2%CVE-2019-25302HIGHAcer Launch Manager 6.1.7600.16385 - 'DsiWMIService' Unquoted Service PathEPSS 0.2%CVE-2020-37030HIGHOutline Service 1.3.3 - 'Outline Service ' Unquoted Service PathEPSS 0.2%CVE-2021-47861HIGHEvent Log Explorer 4.9.3 - 'ElodeaEventCollectorService' Unquoted Service PathEPSS 0.2%CVE-2021-47862HIGHHi-Rez Studios 5.1.6.3 - 'HiPatchService' Unquoted Service PathEPSS 0.2%CVE-2020-36957HIGHPDF Complete 3.5.310.2002 - 'pdfsvc.exe' Unquoted Service PathEPSS 0.2%CVE-2019-25305HIGHJumpStart 0.6.0.0 - 'jswpbapi' Unquoted Service PathEPSS 0.2%CVE-2021-47880HIGHRealtek Wireless LAN Utility 700.1631 - 'Realtek11nSU' Unquoted Service PathEPSS 0.2%CVE-2021-47884HIGHConfiguration Tool 1.6.53 - 'OpLclSrv' Unquoted Service PathEPSS 0.2%CVE-2021-47866HIGHWIN-PACK PRO 4.8 - 'GuardTourService' Unquoted Service PathEPSS 0.2%CVE-2021-47874HIGHVFS for Git 1.0.21014.1 - 'GVFS.Service' Unquoted Service PathEPSS 0.2%CVE-2021-47879HIGHeBeam Interactive Suite 3.6 - 'eBeam Stylus Driver' Unquoted Service PathEPSS 0.2%CVE-2021-47887HIGHPrint Job Accounting 4.4.10 - 'OkiJaSvc' Unquoted Service PathEPSS 0.2%CVE-2021-47878HIGHeBeam Education Suite 2.5.0.9 - 'eBeam Device Service' Unquoted Service PathEPSS 0.2%CVE-2021-47867HIGHWIN-PACK PRO 4.8 - 'ScheduleService' Unquoted Service PathEPSS 0.2%