Private Photos on Google+ and Facebook are only protected by random characters

Martin Brinkmann
Apr 11, 2014
Updated • Jan 4, 2018
Companies, Google
|
9

If you are using an Android device you may have configured it to automatically upload photos that you make using the device to Google Plus.

Those photos are not available to the public by default, but only to you. Google notes on a help page that this is the highest level of privacy as the web albums -- read your photos -- are only visible to the user who created them.

You can change the visibility of individual photos so that they become visible by a group of people or the public.

What you probably do not expect is that all your private photos are only protected by random characters but not by access restrictions.

If you find out the folder and file structure, by chance or brute forcing in the wild, you can access private photos of Google Plus users without problem.

private photo Google Plus url

Here is the full url structure of the link: https://lh4.googleusercontent.com/-bP0oitsdun0/UJJAJ17wtHI/AAAAAAAAAVY/me-vGaheniI/w636-h477-no/IMG_20121030_194044.jpg

As you can see, quite a few random folders and characters are part of the address.

Note:  The random characters used in the file path make it very unlikely that someone would go through length to brute force private photos on Google Plus. Still, since there does not seem to be any restriction in place to prevent direct access to private photos, it is something that you should be aware of if you are using Google's service.

Want an example? Here is a private photo that I have uploaded to Google Plus. You can click on the link to open it in your browser of choice. You do not need to be signed in to a Google account to do so.

Test this yourself

copy private image url

Want to test this yourself to see if your photos are vulnerable? Do this:

  1. Open the photos browser on Google Plus.
  2. Locate a photo that you have not shared with anyone on this page or create a new one by uploading one to the service.
  3. If you use Firefox, right-click on the image and select "copy image location".
  4. If you use Google Chrome, right-click on the image and select "copy image url".
  5. If you use Opera 15+, right-click on the image and select "copy image address".
  6. If you use Internet Explorer, right-click on the image and select "copy".
  7. Paste the information in a different browser, or in a private browsing window. The image should load just fine, even if you are not signed in to your Google account.

Deactivate photo upload

turn off auto backup

You can disable auto backup of photos that you take using the Google Plus application on your device. Here is how you do so on Android.

  1. Open the Google+ app on the device.
  2. Tap on the settings icon in the top right corner and select settings from the menu.
  3. Tap on Auto Backup on the next page.
  4. Switch Auto Backup from On to Off at the top.

Facebook

Photos on Facebook use the same mechanics. When you upload photos to the social networking site and set them to be visible to "only me", you would expect them to be protected even from lucky guesses or brute forcing.

You can copy any private photo url on the site and open it in another browser that is not linked to your Facebook account, and it works just as good as it does on Google Plus.

The url is reasonably long as well on Facebook, but if you want to make sure that your private photos are indeed this, you should not upload them to the site in first place as anyone with the right url may open them.

Closing Words

Some users may not see this as a problem, as the length of the random characters makes it unlikely that someone successfully brute forces or guesses photo urls. Even if they do, they cannot link the photos to particular users on the site.

Privacy conscious users on the other hand may demand better protection of their private photos on the two social networking sites. (via Caschy)

Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Nannymed said on March 13, 2020 at 12:57 pm
    Reply

    Being sure that no one will guess the URL at random, Google engineers are free to give significantly more freedom to anyone who has the URL. As RossFletch documented, you can access that same photo from another computer or another continent. You can give it to a friend or pull it through an automated scraper, and it will load just the same. For Google, that’s a feature. Maybe you’d like to share the photo with a friend who doesn’t have a Google account, or build an automated system to pull the photo onto another system. So why does it feel more like a hack than a feature? When Reddit stumbled onto the URLs, the group assumed they’d found something unauthorized, a hole Google had neglected to plug up. For the most part, it’s because there was no clear sign of permission from Photos. The web is littered with “Share This” buttons, so it’s strange to find a way to pull down a photo without one. Those buttons usually also lock you in a particular network, whether it’s Facebook, Flickr, or even an all-purpose site like Tumblr. Even if you share more than you meant to, it’s still theoretically confined to other people using the same service, or more specific channels like an email address or local file.

  2. morris lila said on January 22, 2016 at 11:20 am
    Reply

    the man is great

  3. ben said on April 14, 2014 at 6:26 am
    Reply

    I couldn’t access it.. possible it’s been fixed?

    http://imgur.com/gorW7DM

    1. Martin Brinkmann said on April 14, 2014 at 8:32 am
      Reply

      This looks more like an api error. I just tried it with another photo and it still works. Try it with one of your photos. Just upload a photo and make sure you do not share it.

  4. Cats said on April 12, 2014 at 5:07 pm
    Reply

    Some security researcher brute-forced a rivals “protected” FB photo’s by exploiting this method – polling the cdn.
    I’m pretty sure the same trick can be pulled-off today – with time and motivation. Why anyone would cloud their private-life to some remote location, is beyond me, however.

  5. Mike said on April 12, 2014 at 4:32 pm
    Reply

    The “random characters” in the URL are much longer than the average password length. It would make more sense to write an exposé article about how user accounts are protected only with “random characters.”

    1. Bobby Phoenix said on April 13, 2014 at 3:17 am
      Reply

      This^^^ A lot of places that require a password say it must be between 6 and 18 characters. Some even less than 18. I always use random characters, so my passwords are way less secure than one of these. How ironic. I want a password as longs as these!

  6. Pants said on April 11, 2014 at 8:03 pm
    Reply

    That’s disgusting – any IT professional would expect and demand permissions to be enforced (like policies in Windows). I would expect at least 1. At least a required login (audit anyone?) and 2. Godamn permissions to be enforced. I for one have never uploaded any personal images to any social media site, never will.

    While the random string is rather long, it still reminds me of fusking ( https://en.wikipedia.org/wiki/Fusker ) which has been around since .. well, before I wore Pants. It created a stink back then and they still haven’t learnt.

  7. Leonardo said on April 11, 2014 at 7:40 pm
    Reply

    The photos are just invisible and unprotected for others who do not have the direct link. The user is free to share your photos with direct links.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.