Threat Feed

CVE-2023-49103: ownCloud graphapi · Information disclosure

Exploitation: In the wild · CVSS 10.0 Critical · Unauthenticated · Published 2023-11-21

Description

An issue was discovered in ownCloud owncloud/graphapi 0.2.x before 0.2.1 and 0.3.x before 0.3.1. The graphapi app relies on a third-party GetPhpInfo.php library that provides a URL. When this URL is accessed, it reveals the configuration details of the PHP environment (phpinfo). This information includes all the environment variables of the webserver. In containerized deployments, these environment variables may include sensitive data such as the ownCloud admin password, mail server credentials, and license key. Simply disabling the graphapi app does not eliminate the vulnerability. Additionally, phpinfo exposes various other potentially sensitive configuration details that could be exploited by an attacker to gather information about the system. Therefore, even if ownCloud is not running in a containerized environment, this vulnerability should still be a cause for concern. Note that Docker containers from before February 2023 are not vulnerable to the credential disclosure.

Enclave's analysis

ownCloud's graphapi app ships a third-party GetPhpInfo.php that serves phpinfo() to anyone who requests the URL. No login needed. In containers, that output can include the admin password, mail credentials and license key. CISA lists it as actively exploited, and EPSS is very high. Update graphapi to 0.2.1 or 0.3.1 or later. Disabling the app doesn't fix it, so rotate any secrets that were exposed.

Fix

Upgrade to 0.2.1 (0.2.x branch) and 0.3.1 (0.3.x branch); vendor advisory could not be retrieved to confirm.

Affected versions

ProductVulnerableFixed in
ownCloud graphapi app0.2.x before 0.2.1 and 0.3.x before 0.3.10.2.1 (0.2.x branch) and 0.3.1 (0.3.x branch); vendor advisory could not be retrieved to confirm

Seen in 4 sources