Closed Bug 1380982 Opened 7 years ago Closed 7 years ago

Misconfigured AWS S3 Bucket [vmimages.mozilla.net]

Categories

(Websites :: Other, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ehsandeepsingh, Unassigned)

References

()

Details

(Whiteboard: [reporter-external] [web-bounty-form] [verif?])

Attachments

(1 file)

Step to reproduce: 

aws s3 ls s3://vmimages.mozilla.net --recursive --region us-west-2

hit following comment on the machine where aws cli is installed, you can content get listed.
Flags: sec-bounty?
Thanks for the report Ehsan! I'm getting an Access Denied error:

» aws s3 ls s3://vmimages.mozilla.net --recursive --region us-west-2

An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied

Do you have any credentials configured for aws cli?

I'm going to close this a invalid for now, but will reopen if I can reproduce it.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Hey, yes i have setup my aws cli using token and and secret, and as i mentioned in report as well "authenticated AWS CLI user".

so you can use you any account, and once you setup your aws CLI, hit the above cmd and you should see the result.
Right, I'm still getting AccessDenied when I run: aws s3 ls s3://vmimages.mozilla.net --recursive --region us-west-2
Hey, am not sure what wrong happening at your side, but still here i made video poc if that helps!

>> https://dl.dropboxusercontent.com/s/zgdgb42qitwlalt/2017-07-24_13-40-29.mp4
OK I was able to reproduce the issue as reported by copying keys from an existing profile in ~/.aws/credentials and running AWS_PROFILE=$copied_profile aws s3 ls s3://vmimages.mozilla.net --recursive --region us-west-2
Group: websites-security
Flags: sec-bounty? → sec-bounty-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: