
reproducing an old istio bug
This set of scripts and manifests will aid in exploring an old Istio security issue which allowed malicious Istio users to access Kubernetes secrets they should not have access to. This reproduction is modeled on this blog post which has some problems. See this blog post for details.
./one_time_setup.sh to download the necessary binaries../deploy_test.sh to deploy the vulnerable version of istio in a vulnerable configuration../evaluate_test.sh to examine the results of the test.istio_versions.sh and switch the variable from to .ISTIO_VERSION${ISTIO_VULN}${ISTIO_SAFE}./deploy_test.sh to deploy the fixed version of istio in the same vulnerable configuration../rollpods.sh to bounce the gateway pods so they pick up the new version../check_version.sh to verify that the fixed version of istio is running../evaluate_test.sh to examine the results again.