ownCloud graphapi CVE-2023-49103: phpinfo Credential Leak
Fixed since late 2023 and mass-scanned since; confirm GetPhpInfo.php is gone everywhere, and if a vulnerable server was online, assume its environment secrets leaked and rotate them, because patching does not revoke stolen passwords.
Must act: Operators of self-hosted ownCloud Server with graphapi 0.2.0 to 0.3.0, above all Docker deployments built from February 2023 onward that pass the admin password and other secrets as environment variables.
Can relax: ownCloud Infinite Scale and ownCloud.Online users, which ownCloud says are not affected, and self-hosted servers without graphapi or already on graphapi 0.3.1 with secrets rotated.
- Check every ownCloud Server for the graphapi app and its version with occ app:list.
- Delete apps/graphapi/vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php wherever it exists and update graphapi to 0.3.1 or later.
- Upgrade ownCloud Server to a current release (10.16.6 or 11.0.1); on Docker, pull a current image and recreate the container.