Comments (3)
Getting the same error! Please help how to fix this
from awsgoat.
The error is caused by the S3 buckets' "Block Public Access" settings. I wrote a small bash script to fix it for each bucket in the account. Be careful.
#!/bin/bash
# List all buckets and convert tab spaces to newlines
buckets=$(aws s3api list-buckets --query 'Buckets[].Name' --output text | tr "\t" "\n")
# Loop through all buckets
for bucket in $buckets; do
echo "Updating bucket: $bucket"
# Disable Block Public Access settings
aws s3api put-public-access-block \
--bucket $bucket \
--public-access-block-configuration "BlockPublicAcls=false,IgnorePublicAcls=false,BlockPublicPolicy=false,RestrictPublicBuckets=false"
done
echo "All buckets updated."
from awsgoat.
Hi @n0sandb0x @rdsece @chryzsh , the PR #37 was merged to handle the AWS change that disabled ACLs for newly created buckets. Since then we have tested the AWS GOAT Deployment multiple times unable to replicate the issue you faced. I would recommend you to sync the latest changes to your forks and redeploy.
from awsgoat.
Related Issues (20)
- 02-SQL Injection: documentation not accurate (SQLi does not reveal admin password) HOT 1
- Is the deployment secure from outside threat? HOT 1
- IAM Role Policy in Main.tf does not match solution for IAM Priv Escalation HOT 1
- Error deploying Module 1 on main.tf line 3553 HOT 1
- Using AWSGoat and CICDGoat together HOT 1
- Source code changes - not working HOT 2
- Terraform took forever to load HOT 1
- Dectecting resources/roles/policies using AWS Security Hub
- Misconfigured dev-ec2-lambda-policies HOT 1
- Terraform Script not working HOT 2
- Terraform script not working got access denied
- Running from actions is giving me errors with depreceated commands HOT 2
- Required IAM Privileges
- Error: `AWS_GOAT_ec2_profile: EntityAlreadyExists` HOT 2
- S3 bucket: BucketAlreadyExists HOT 4
- Time for nodejs upgrade HOT 3
- Terraform Deployment error
- installation issues
- There is something wrong in the backend server while logging/signing in HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awsgoat.