-
Notifications
You must be signed in to change notification settings - Fork 660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OWASP ZAP のアクティブスキャンを自動化する試み #5169
Merged
kiy0taka
merged 27 commits into
EC-CUBE:4.1
from
nanasess:automated-penetration-testing-vulnerability
Sep 21, 2021
Merged
OWASP ZAP のアクティブスキャンを自動化する試み #5169
kiy0taka
merged 27 commits into
EC-CUBE:4.1
from
nanasess:automated-penetration-testing-vulnerability
Sep 21, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OWASP ZAP のオプション設定を修正
Codecov Report
@@ Coverage Diff @@
## 4.1 #5169 +/- ##
==========================================
+ Coverage 68.08% 68.13% +0.05%
==========================================
Files 457 456 -1
Lines 24972 24943 -29
==========================================
- Hits 17001 16995 -6
+ Misses 7971 7948 -23
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
This was referenced Sep 24, 2021
Merged
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
概要(Overview・Refs Issue)
OWASP ZAP のアクティブスキャンを自動化する。
OWASP ZAP を使用したペネトレーションテストを自動化する手段として、 OWASP ZAP Full Scan
があるが、EC-CUBE の場合は日本語入力が必須であったり、特殊な遷移パターンがあるため、十分にスキャンできない。
Selenium と連携させて自動化する方法があり、これを実装する
方針(Policy)
実装に関する補足(Appendix)
OWASP ZAP を daemon モードで立ち上げるため、 docker-compose.owaspzap.daemon.yml を追加している
現在は以下のパターンを実装
フロント画面
管理画面
お問い合わせ画面は POST のパラメータで遷移する 特殊な遷移パターン に該当する
受注管理>メール通知は、 EC-CUBE4.0.5 で脆弱性のあった機能
テスト(Test)
GitHub Actions で正常にセキュリティチェックできることを確認
ローカル環境で実行する場合
前提として chromedriverをインストールし、 PATH を通しておく
ローカル環境で実行する場合は以下のようにする
相談(Discussion)
マイナーバージョン互換性保持のための制限事項チェックリスト
レビュワー確認項目