Cwe 78

🧬 CWE Related 120
slug: cwe-78

Explanation

CWE-78は「ユーザー入力をシェルコマンドの一部として使うとき、適切にエスケープせず、攻撃者がコマンドを追加実行できてしまう欠陥」のことです。 例えば `ping {ユーザー入力IP}` の {ユーザー入力IP} に `; rm -rf /` のような文字列を入れられると、サーバー上のファイルが削除されます。 対策は「シェル経由を避け、引数を配列として直接渡す (PHPなら escapeshellarg)」。
📌 Example
Shellshock (CVE-2014-6271): Bashの脆弱性で、Webサーバーへの普通のリクエスト経由で任意のシェルコマンドが実行できた歴史的な事件。

🔖 Related tags

🛡 Vulnerabilities tagged with this 1,313

ID Title
CVE-2017-7690 OS Command Injection in proxifier (CVE-2017-7690)
CVE-2016-5313 OS Command Injection in symantec (CVE-2016-5313)
CVE-2017-6597 OS Command Injection in cisco (CVE-2017-6597)
CVE-2017-6600 OS Command Injection in cisco (CVE-2017-6600)
CVE-2017-6601 OS Command Injection in cisco (CVE-2017-6601)
CVE-2017-6602 OS Command Injection in cisco (CVE-2017-6602)
CVE-2017-6606 OS Command Injection in cisco (CVE-2017-6606)
CVE-2016-10320 OS Command Injection in textract-project (CVE-2016-10320)
CVE-2016-9091 OS Command Injection in bluecoat (CVE-2016-9091)
CVE-2017-7413 OS Command Injection in horde (CVE-2017-7413)
CVE-2017-7414 OS Command Injection in horde (CVE-2017-7414)
CVE-2017-6182 OS Command Injection in sophos (CVE-2017-6182)
CVE-2017-5330 OS Command Injection in fedoraproject (CVE-2017-5330)
CVE-2017-6087 OS Command Injection in eonweb-project (CVE-2017-6087)
CVE-2017-6359 OS Command Injection in qnap (CVE-2017-6359)
CVE-2017-6360 OS Command Injection in qnap (CVE-2017-6360)
CVE-2017-6361 OS Command Injection in qnap (CVE-2017-6361)
CVE-2017-6970 OS Command Injection in alienvault (CVE-2017-6970)
CVE-2017-6398 OS Command Injection in trendmicro (CVE-2017-6398)
CVE-2017-3806 OS Command Injection in cisco (CVE-2017-3806)
CVE-2016-6065 OS Command Injection in ibm (CVE-2016-6065)
CVE-2016-10043 OS Command Injection in apache (CVE-2016-10043)
CVE-2017-3796 OS Command Injection in cisco (CVE-2017-3796)

🍪 About cookies

We use cookies to keep you logged in, remember your language, and improve the service.

Details →