Cwe 78

🧬 CWE Related 2,028
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 2,028

Image ID Title
CVE-2017-10902 OS Command Injection in PTW-WMS1 firmware (CVE-2017-10902)
CVE-2017-1000159 OS Command Injection in Gnome (CVE-2017-1000159)
CVE-2017-1000214 OS Command Injection in Gitphp Project (CVE-2017-1000214)
CVE-2017-16957 OS Command Injection in Tp Link Tl Wvr300 Firmware (CVE-2017-16957)
CVE-2017-16958 OS Command Injection in Tp Link Tl Wvr300 Firmware (CVE-2017-16958)
CVE-2017-16960 OS Command Injection in Tp Link Tl Er5510G (CVE-2017-16960)
CVE-2017-16934 OS Command Injection in Web Server (CVE-2017-16934)
CVE-2017-16926 OS Command Injection in Ohcount (CVE-2017-16926)
CVE-2017-16923 OS Command Injection in Tenda Ac9 (CVE-2017-16923)
CVE-2017-1000215 OS Command Injection in ROOT xrootd (CVE-2017-1000215)
CVE-2017-1000203 OS Command Injection in ROOT (CVE-2017-1000203)
CVE-2017-1000220 OS Command Injection in Pidusage Project (CVE-2017-1000220)
CVE-2017-1000219 OS Command Injection in Windows Cpu Project (CVE-2017-1000219)
CVE-2017-12305 Command Injection in Cisco IP Phone 8800 series (CVE-2017-12305)
CVE-2017-12636 OS Command Injection in Apache Couchdb (CVE-2017-12636)
CVE-2017-1453 OS Command Injection in IBM Security Access Manager Appliance (CVE-2017-1453)
CVE-2017-16667 OS Command Injection in backintime (CVE-2017-16667)
CVE-2017-16641 OS Command Injection in Cacti (CVE-2017-16641)
CVE-2017-2917 OS Command Injection in Meetcircle (CVE-2017-2917)
CVE-2017-2866 OS Command Injection in Meetcircle (CVE-2017-2866)
CVE-2017-2890 OS Command Injection in Meetcircle (CVE-2017-2890)
CVE-2017-12243 OS Command Injection in Cisco Unified Computing System (UCS) Manager (CVE-2017-12243)
CVE-2017-10953 OS Command Injection in Foxitsoftware (CVE-2017-10953)
CVE-2017-9377 OS Command Injection in Barco (CVE-2017-9377)
CVE-2017-15924 OS Command Injection in Shadowsocks (CVE-2017-15924)
CVE-2017-7341 OS Command Injection in Fortinet FortiWLC (CVE-2017-7341)
CVE-2017-10955 OS Command Injection in Emc (CVE-2017-10955)
CVE-2017-3761 OS Command Injection in Lenovo (CVE-2017-3761)
CVE-2017-6223 OS Command Injection in Ruckus (CVE-2017-6223)
CVE-2017-6224 OS Command Injection in Ruckuswireless (CVE-2017-6224)

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details