← back
CVE-2023-49103

CVE-2023-49103

CVSS 10 CRITICALEPSS 78.4%● KEVCWE-200
In short

The ownCloud graphapi app contains a library that exposes PHP configuration details and environment variables through a publicly accessible URL, potentially revealing sensitive information like admin passwords and credentials. This is a critical information disclosure vulnerability that affects containerized deployments especially.

Technical detail

CVE-2023-49103 exploits an exposed GetPhpInfo.php endpoint in owncloud/graphapi 0.2.x (before 0.2.1) and 0.3.x (before 0.3.1) that outputs phpinfo() output, disclosing environment variables and server configuration. In containerized environments, this exposes sensitive credentials such as ownCloud admin passwords, mail server credentials, and license keys. Disabling the vulnerable app does not remove the exposure; remediation requires updating to patched versions or removing the GetPhpInfo.php library.

Summary generated and translated by AI from the official 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.
CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N
Affected products
n/a · n/a
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →