Weaknesses of type CWE-78

5,064 results

Injeção de comandos do sistema operacional

A aplicação constrói comandos do SO usando entrada do usuário sem sanitizar adequadamente, permitindo que um atacante injete comandos arbitrários. Quando a entrada contém metacaracteres (como `|`, `;`, `&&`, backticks), o shell interpreta-os como operadores, executando código não intencional com os privilégios da aplicação.

Example

Um script PHP que executa `system('ping ' . $_GET['host'])` permite um atacante passar `127.0.0.1; rm -rf /` como parâmetro, executando deleção de arquivos. Ou em Java, `Runtime.exec()` com strings concatenadas do usuário sem validação.

How to mitigate

Use APIs que não invocam shell (ex: `execvp()` em C, arrays de parâmetros em Java/Python, ou prepared commands). Se inevitável usar shell, escape rigorosamente com funções específicas (`escapeshellarg()` em PHP) ou valide contra whitelist de caracteres permitidos. Nunca confie em blacklist de caracteres perigosos.

CVE-2024-7448HIGHMagnet Forensics AXIOM Command Injection Remote Code Execution VulnerabilityEPSS 1.7%CVE-2026-20742HIGHCopeland XWEB and XWEB Pro OS Command InjectionEPSS 1.7%CVE-2026-16468HIGHDataStage on Cloud Pak for Data has several vulnerabilitiesEPSS 1.7%CVE-2023-44423HIGHD-Link DIR-X3260 SetTriggerPPPoEValidate Password Command Injection Remote Code Execution VulnerabilityEPSS 1.7%CVE-2023-51625HIGHD-Link DCS-8300LHV2 ONVIF SetSystemDateAndTime Command Injection Remote Code Execution VulnerabilityEPSS 1.7%CVE-2024-39091HIGHAn OS command injection vulnerability in the ccm_debug component of MIPC Camera firmware prior to v5.4.1.240424171021 allows attackers withiEPSS 1.7%CVE-2023-44424HIGHD-Link DIR-X3260 SetSysEmailSettings EmailTo Command Injection Remote Code Execution VulnerabilityEPSS 1.7%CVE-2023-44421HIGHD-Link DIR-X3260 SetTriggerPPPoEValidate Username Command Injection Remote Code Execution VulnerabilityEPSS 1.7%CVE-2023-44425HIGHD-Link DIR-X3260 SetSysEmailSettings AccountName Command Injection Remote Code Execution VulnerabilityEPSS 1.7%CVE-2023-44422HIGHD-Link DIR-X3260 SetSysEmailSettings EmailFrom Command Injection Remote Code Execution VulnerabilityEPSS 1.7%CVE-2023-22598HIGH InHand Networks InRouter 302, prior to version IR302 V3.5.56, and InRouter 615, prior to version InRouter6XX-S-V2.3.0.r5542, contain vulnerEPSS 1.7%CVE-2026-42076CRITICALEvolver: Command Injection via `execSync` in `_extractLLM()` function allows Remote Code ExecutionEPSS 1.7%CVE-2024-4253HIGHCommand Injection in gradio-app/gradioEPSS 1.7%CVE-2024-50853HIGHTenda G3 v3.0 v15.11.0.20 was discovered to contain a command injection vulnerability via the formSetDebugCfg function.EPSS 1.7%CVE-2024-50852HIGHTenda G3 v3.0 v15.11.0.20 was discovered to contain a command injection vulnerability via the formSetUSBPartitionUmount function.EPSS 1.7%CVE-2020-2492HIGHIf exploited, the command injection vulnerability could allow remote attackers to execute arbitrary commands. This issue affects: QNAP SysteEPSS 1.7%CVE-2026-108540CRITICALOpenSpug File Transfer transfer os command injectionEPSS 1.7%CVE-2024-24333CRITICALTOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the desc parameter in the setWiFiAclEPSS 1.7%CVE-2024-23060CRITICALTOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the ip parameter in the setDmzCfg fuEPSS 1.7%CVE-2026-16741CRITICALOS Command in TR7 Cyber ​​Defense's TR7 ASPEPSS 1.7%