CVE-2023-49103 ownCloud graphapi Information Disclosure
An attacker can access a phpinfo URL to reveal sensitive environment variables, including admin credentials and license keys, in ownCloud deployments.
- Exploited in the wild
- Since 30 Nov 2023
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-49103?
CVE-2023-49103 is a critical vulnerability in n/a, published on 21 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-200
Which versions are affected by CVE-2023-49103?
It affects 1 product.
Products include Owncloud Graph Api.
How do I fix CVE-2023-49103?
No fix has been published for CVE-2023-49103 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 21 Dec 2023.
Is CVE-2023-49103 being exploited?
Yes. Attackers have exploited CVE-2023-49103 in the wild since at least 30 Nov 2023.
Public exploit code: 1 Metasploit module, 1 Nuclei template and 3 proofs of concept on GitHub.
Sources
Also known as GHSA-7f2q-q825-57p8.