-
-
JSON クロスサイトスクリプティング保護
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
JSON クロスサイトスクリプティング保護チェック
着信 JSON ペイロードに悪意のあるクロスサイトスクリプティングデータがある場合、WAF はリクエストをブロックします。次の手順では、CLI および GUI インターフェイスを使用してこれを設定する方法について説明します。
JSON クロスサイトスクリプティング保護の設定
JSONクロスサイトスクリプティング保護を構成するには、次の手順を実行する必要があります。
- アプリケーションのファイアウォールプロファイルを JSON として追加します。
- JSONクロスサイトスクリプティングアクションを構成して、クロスサイトスクリプティングの悪意のあるペイロードをブロックします
タイプ JSON のアプリケーションファイアウォールプロファイルを追加します
最初に、アプリケーションファイアウォールがJSONWebコンテンツをJSONクロスサイトスクリプティング攻撃から保護する方法を指定するプロファイルを作成する必要があります。
コマンドプロンプトで入力します。
add appfw profile <name> -type (HTML | XML | JSON)
注:
プロファイルタイプを JSON に設定すると、HTML や XML などの他のチェックは適用されません。
例
add appfw profile profile1 –type JSON
JSONクロスサイトスクリプティング違反のサンプル出力
JSONcross-site scriptingAction: block log stats
Payload: {"username":"<a href="jAvAsCrIpT:alert(1)">X</a>","password":"xyz"}
Log message: Aug 19 06:57:33 <local0.info> 10.106.102.21 08/19/2019:06:57:33 GMT 0-PPE-0 : default APPFW APPFW_JSON_cross-site scripting 58 0 : 10.102.1.98 12-PPE0 - profjson http://10.106.102.24/ Cross-site script check failed for object value(with violation="Bad URL: jAvAsCrIpT:alert(1)") starting at offset(12). <blocked>
Counters
1 357000 1 as_viol_json_xss
3 0 1 as_log_json_xss
5 0 1 as_viol_json_xss_profile appfw__(profjson)
7 0 1 as_log_json_xss_profile appfw__(profjson)
<!--NeedCopy-->
JSON クロスサイトスクリプティングアクションの設定
JSONクロスサイトスクリプティング攻撃からアプリケーションを保護するには、1つ以上のJSONクロスサイトスクリプティングアクションを構成する必要があります。 コマンドプロンプトで入力します。
set appfw profile <name> - JSONcross-site scriptingAction [block] [log] [stats] [none]
例
set appfw profile profile1 –JSONcross-site scriptingAction block
使用できるクロスサイトスクリプティングのアクションは次のとおりです。 Block-このセキュリティチェックに違反する接続をブロックします。 Log - このセキュリティチェックの違反を記録します。 Stats -このセキュリティー検査の統計を生成します。 None -このセキュリティー検査のすべてのアクションを無効にします。
注意: 1つ以上のアクションを有効にするには、「set appfw profile –JSONcross-site scriptingAction」と入力してから、有効にするアクションを入力します。
例
set appfw profile profile1 -JSONSQLInjectionAction block log stat
Citrix GUIを使用して、JSONクロスサイトスクリプティング(クロスサイトスクリプティング)保護を構成します
以下の手順に従って、クロスサイトスクリプティング(クロスサイトスクリプティング)保護設定を設定します。
- ナビゲーションペインで、[セキュリティ] > [プロファイル] に移動します。
- [ プロファイル ] ページで、[ 追加] をクリックします。
- Citrix Web App Firewallプロファイルページで 、[ 詳細設定 ]の[ セキュリティチェック]をクリックします。
- [ セキュリティチェック]セクションで、[ JSONクロスサイトスクリプティング(クロスサイトスクリプティング)] 設定に移動します。
-
チェックボックスの近くにある実行可能アイコンをクリックします。
- [アクション設定]をクリックして、[JSON クロスサイトスクリプティング設定] ページにアクセスします。
- JSONクロスサイトスクリプティングアクションを選択します。
-
[OK] をクリックします。
- [Citrix Web App Firewall プロファイル]ページで、[詳細設定]の下の[リラクゼーションルール]をクリックします。
-
[リラクゼーションルール] セクションで、[JSON クロスサイトスクリプティング設定] を選択し、[編集] をクリックします。
- [JSON クロスサイトスクリプティング緩和規則] ページで、[追加] をクリックして、JSON クロスサイトスクリプティング緩和規則を追加します。
- 要求の送信先の URL を入力します。この URL に送信されたすべてのリクエストはブロックされません。
-
[作成] をクリックします。
共有
共有
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select Do Not Agree to exit.