The external legacy SMB storage (not using php-libsmbclient) of ownCloud was not properly neutralizing all special elements which allows an adversary to execute arbitrary SMB commands.
Effectively this allows an attacker to gain access to any file on the system or overwrite it, potentially leading to a PHP code execution.
For more information please consult the official advisory.
This advisory is licensed CC BY-SA 4.0