Executive Vault Sign-In (SQL Injection Study Tab)
This login form authenticates against an in-memory SQLite table using an unparameterized SQL query.
Test how an SQL Injection payload logs directly into the Next Page (/portal/dashboard) when Cloud Armor is detached, and how Cloud Armor Priority 2000 (sqli-v33-stable) blocks it at the edge with HTTP 403 Forbidden when attached.
How to Compare Pre-Armor vs. Post-Armor in Your Browser
403 Forbidden right now when clicking the SQLi preset?Because Cloud Armor policy
cloud-armor-study-policy-01 is currently attached & enforced on gcp2-xlb! When you submit admin' OR '1'='1, Google Cloud Armor intercepts the request at the load balancer edge and blocks it before it ever reaches Cloud Run.
Step 1 — See the Vulnerability Succeed (Pre-Armor):
Detach the policy in Google Cloud Console → Cloud Armor → Policies → cloud-armor-study-policy-01 → Targets → Remove (or run ./scripts/toggle_armor.sh detach), wait ~60s, then click Fill SQLi Auth Bypass and Sign In. You will bypass authentication and enter the Executive Vault Next Page as admin!
Step 2 — See Cloud Armor Block the Attack (Post-Armor):
Re-attach cloud-armor-study-policy-01 to cloud-armor-demo-backend-svc (or run ./scripts/toggle_armor.sh attach). Now:
- Valid Login (
demo_user/CloudArmor2026!): Allowed by Cloud Armor (HTTP 200) and enters the Next Page! - SQLi Bypass (
admin' OR '1'='1): Blocked at the edge by Priority 2000 (sqli-v33-stable) withHTTP 403 Forbidden!
Seeded Study Accounts in SQLite
| Username | Password | Clearance |
|---|---|---|
admin |
(Secret — target for SQLi bypass) | LEVEL_5_EXECUTIVE_VAULT |
demo_user |
CloudArmor2026! |
LEVEL_1_STANDARD |
indrapn |
ArgolisStudy!2026 |
LEVEL_4_ARCHITECT |
Search & Feedback Wall (OWASP XSS WAF Rule Study)
Tests how reflected HTML/JavaScript vectors in query parameters are handled before and after attaching Cloud Armor Priority 2000 (xss-v33-stable).
Enforcing Rule: Priority 2000 (xss-v33-stable)
When Cloud Armor is detached, submitting <script>alert("XSS-Study-Test")</script> reaches the Cloud Run origin and opens the /search results page showing an unfiltered XSS detection banner. When Cloud Armor is attached, the GFE blocks the request at the edge with HTTP 403 Forbidden.
Document Viewer & Ping Utility (OWASP LFI & RCE WAF Study)
Safe, sandboxed simulation of file path lookup and diagnostic command parameters protected by Cloud Armor Priority 2100 (lfi-v33-stable & rce-v33-stable).
Enforcing Rule: Priority 2100 (lfi-v33-stable & rce-v33-stable)
Note: This tab simulates file path and command parameter inspection against an in-memory dictionary for OWASP WAF testing. To perform real network ping and curl from Cloud Run to an internal VPC GCE VM, open Tab 6 (Internal VPC Tester)!
Custom CEL Policy Verification (Priority 1000 & 1100)
Test Cloud Armor Custom Common Expression Language (CEL) rules directly from your browser using fetch() with custom HTTP headers and query strings.
Custom CEL Expressions Configured on gcp2-xlb
Priority 1000 — Protect /admin/*:
Priority 1100 — Block Test Marker Header or Query:
Interactive Rate-Limiting Burst Simulator (Priority 3000 — /api/ping)
Fires 18 rapid requests from your browser to GET /api/ping.
Pre-Armor: All 18 requests return HTTP 200 OK.
Post-Armor: Cloud Armor Priority 3000 (throttle at 10 requests per 60s per client IP) allows the first 10 requests and throttles excess requests at the edge with HTTP 429 Too Many Requests.
Box 1: ICMP Ping Test
Test outbound ICMP ping (plus TCP reachability probe) from this Cloud Run instance (cloud-armor-demo-service in asia-southeast2) to any target internal VPC IP or hostname.
Box 2: HTTP / HTTPS Curl Test
Test outbound HTTP / HTTPS curl requests from this Cloud Run instance (cloud-armor-demo-service in asia-southeast2) to any target internal VPC IP, hostname, or URL.
Cloud Run Container Network Interfaces & Routing Table
Live output of ip -brief addr and ip route inside this Cloud Run container. When Direct VPC Egress is attached, the assigned VPC subnet interface will appear here.