Weaknesses of type CWE-78

4,591 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-2026-5975CRITICALTotolink A7100RU CGI cstecgi.cgi setDmzCfg os command injectionEPSS 3.3%CVE-2026-7138CRITICALTotolink A8000RU CGI cstecgi.cgi setNtpCfg os command injectionEPSS 3.3%CVE-2026-5997CRITICALTotolink A7100RU CGI cstecgi.cgi setLoginPasswordCfg os command injectionEPSS 3.3%CVE-2026-5996CRITICALTotolink A7100RU CGI cstecgi.cgi setAdvancedInfoShow os command injectionEPSS 3.3%CVE-2026-7125CRITICALTotolink A8000RU CGI cstecgi.cgi setWiFiEasyCfg os command injectionEPSS 3.3%CVE-2026-6027CRITICALTotolink A7100RU CGI cstecgi.cgi setUrlFilterRules os command injectionEPSS 3.3%CVE-2026-7153CRITICALTotolink A8000RU CGI cstecgi.cgi setMiniuiHomeInfoShow os command injectionEPSS 3.3%CVE-2026-6025CRITICALTotolink A7100RU CGI cstecgi.cgi setSyslogCfg os command injectionEPSS 3.3%CVE-2026-7136CRITICALTotolink A8000RU CGI cstecgi.cgi setDmzCfg os command injectionEPSS 3.3%CVE-2026-7123CRITICALTotolink A8000RU CGI cstecgi.cgi setIptvCfg os command injectionEPSS 3.3%CVE-2026-7137CRITICALTotolink A8000RU CGI cstecgi.cgi setStorageCfg os command injectionEPSS 3.3%CVE-2026-9407CRITICALTotolink A8000RU Web Management cstecgi.cgi setFirewallType os command injectionEPSS 3.3%CVE-2026-5852CRITICALTotolink A7100RU CGI cstecgi.cgi setIptvCfg os command injectionEPSS 3.3%CVE-2026-5854CRITICALTotolink A7100RU CGI cstecgi.cgi setWiFiEasyCfg os command injectionEPSS 3.3%CVE-2026-7204CRITICALTotolink A8000RU CGI cstecgi.cgi setPptpServerCfg os command injectionEPSS 3.3%CVE-2026-5977CRITICALTotolink A7100RU CGI cstecgi.cgi setWiFiBasicCfg os command injectionEPSS 3.3%CVE-2026-6154CRITICALTotolink A7100RU CGI cstecgi.cgi setWizardCfg os command injectionEPSS 3.3%CVE-2026-9478CRITICALTotolink A8000RU Web Management cstecgi.cgi setParentalRules os command injectionEPSS 3.3%CVE-2026-6114CRITICALTotolink A7100RU CGI cstecgi.cgi setNetworkCfg os command injectionEPSS 3.3%CVE-2026-7243CRITICALTotolink A8000RU CGI cstecgi.cgi setRadvdCfg os command injectionEPSS 3.3%