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 125

ID Title
CVE-2023-49897 KEV [KEV] OS Command Injection in Fxc ae1021 (CVE-2023-49897)
CVE-2023-47565 KEV [KEV] OS Command Injection in Qnap viostor-nvr (CVE-2023-47565)
CVE-2023-20273 KEV [KEV] OS Command Injection in cisco (CVE-2023-20273)
CVE-2017-6884 KEV [KEV] OS Command Injection in Zyxel emg2926-routers (CVE-2017-6884)
CVE-2017-18368 KEV [KEV] OS Command Injection in Zyxel p660hn-t1a-routers (CVE-2017-18368)
CVE-2022-29303 KEV [KEV] OS Command Injection in Solarview compact (CVE-2022-29303)
CVE-2019-17621 KEV [KEV] OS Command Injection in D-link dir-859-router (CVE-2019-17621)
CVE-2019-20500 KEV [KEV] OS Command Injection in D-link dwl-2600ap-access-point (CVE-2019-20500)
CVE-2023-27992 KEV [KEV] OS Command Injection in Zyxel multiple-network-attached-storage-nas-devices (CVE-2023-27992)
CVE-2020-12641 KEV [KEV] OS Command Injection in roundcube (CVE-2020-12641)
CVE-2023-28771 KEV [KEV] OS Command Injection in Zyxel multiple-firewalls (CVE-2023-28771)
CVE-2022-28810 KEV [KEV] OS Command Injection in Zoho manageengine (CVE-2022-28810)
CVE-2022-33891 KEV [KEV] OS Command Injection in Apache spark (CVE-2022-33891)
CVE-2022-44877 KEV [KEV] OS Command Injection in Cwp control-web-panel (CVE-2022-44877)
CVE-2022-36804 KEV [KEV] OS Command Injection in Atlassian bitbucket-server-and-data-center (CVE-2022-36804)
CVE-2022-26258 KEV [KEV] OS Command Injection in D-link dir-820l (CVE-2022-26258)
CVE-2018-6530 KEV [KEV] OS Command Injection in D-link multiple-routers (CVE-2018-6530)
CVE-2018-19949 KEV [KEV] Vulnerability in Qnap network-attached-storage-nas (CVE-2018-19949)
CVE-2022-30525 KEV [KEV] OS Command Injection in Zyxel multiple-firewalls (CVE-2022-30525)
CVE-2019-16057 KEV [KEV] OS Command Injection in D-link dns-320-storage-device (CVE-2019-16057)
CVE-2020-2509 KEV [KEV] Command Injection in qnap (CVE-2020-2509)
CVE-2021-45382 KEV [KEV] OS Command Injection in D-link multiple-routers (CVE-2021-45382)
CVE-2018-10562 KEV [KEV] OS Command Injection in Dasan gigabit-passive-optical-network-gpon-routers (CVE-2018-10562)
CVE-2020-9377 KEV [KEV] OS Command Injection in D-link dir-610-devices (CVE-2020-9377)
CVE-2020-9054 KEV [KEV] OS Command Injection in Zyxel multiple-network-attached-storage-nas-devices (CVE-2020-9054)
CVE-2020-7247 KEV [KEV] Vulnerability in Openbsd opensmtpd (CVE-2020-7247)
CVE-2020-25223 KEV [KEV] OS Command Injection in Sophos sg-utm (CVE-2020-25223)
CVE-2020-1956 KEV [KEV] OS Command Injection in Apache kylin (CVE-2020-1956)
CVE-2019-16920 KEV [KEV] OS Command Injection in D-link multiple-routers (CVE-2019-16920)
CVE-2019-15107 KEV [KEV] OS Command Injection in webmin (CVE-2019-15107)

🍪 About cookies

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

Details →