In this demo, we will:
waf-demo-924712
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AWS WAF Demo</title>
</head>
<body>
<h1>Welcome to the AWS WAF Demo</h1>
<p>This is a simple web application protected by AWS WAF.</p>
</body>
</html>
index.html
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::your-bucket-name/*"
}
]
}
DemoWebACL
BlockSQLInjection
BlockXSS
https://d1jcqtixiy2rcs.cloudfront.net/?input=<script>alert('XSS')</script>
https://d1jcqtixiy2rcs.cloudfront.net/?id=1+AND+SLEEP(5)
permanently delete
waf-demo-924712