Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security issue with using Amazon AWS app #2927

Open
sryn101 opened this issue Jul 9, 2020 · 4 comments
Open

Security issue with using Amazon AWS app #2927

sryn101 opened this issue Jul 9, 2020 · 4 comments

Comments

@sryn101
Copy link

sryn101 commented Jul 9, 2020

What's happened?
There seems to be a high security issue with Amazon app, The app only works when we allow full public access to the bucket, in which case, anybody is able to access that bucket by just copy pasting the URLs of the images.

Steps to reproduce:

  1. Upload an image
  2. Right click on the image to copy the image path
  3. remove the image name and with rest of the path anybody can see list of all images uploaded.

What's expected?

When you right click on one of the images on facebook and copy the image
link and paste it in another tab you can see a time stamp, if you remove
that or just go to folder path, it wil give an error message::
https://scontent-syd2-1.xx.fbcdn.net/v/

Browsers and Devices tested

Chrome on PC

...

Server information

php 7.1 apache

...

phpFox version

phpFox 4.8.0

...

Screenshots

...

@PhpFoxJohnJr
Copy link

Is this still happening?

@sryn101
Copy link
Author

sryn101 commented Jul 2, 2021

Yes it is..

@PhpFoxJohnJr
Copy link

Sorry for the lack of understanding as I am looking into using s3 and your bug report scares me as my site depends on the privacy of images. Are you using cloudfront? Here is what I found about cloudfront...

Securing Your Content

Often, companies that distribute content over the internet want to restrict access to documents, business data, media streams, or other content so that only selected users, like paying customers, can request it. By using CloudFront, we can set up additional access restrictions like geo-restrictions, signed URLs, and signed cookies, to further constrain access to the content following different criteria.

Another security feature of CloudFront is Origin Access Identity (OAI), which restricts access to an S3 bucket and its content to only CloudFront and operations it performs. The CloudFormation template in this blog post includes OAI to help ensure that your content is protected and restricted.

@sryn101
Copy link
Author

sryn101 commented Jul 3, 2021

Sorry.. I had not upgraded it to latest version.. I upgrade it and I dont see this issue any more.. thanks PHPFox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants