ownCloud was vulnerable to a insecure direct object reference. Any unauthenticated user would be able to download any image from the server if the gallery app is enabled.
For more information please consult the official advisory.
This advisory is licensed CC BY-SA 4.0