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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
ownCloud Phpinfo Reader
auxiliary/gather/owncloud_phpinfo_reader
GitHub 3 repositories
-
creacitysec/CVE-2023-49103 ★ 30 · Nov 22, 2023
PoC for the CVE-2023-49103
-
merlin-ke/OwnCloud-CVE-2023-49103 ★ 1 · Dec 19, 2023
OwnCloud CVE-2023-49103
-
d0rb/CVE-2023-49103 ★ 0 · Jun 27, 2024
This is a simple proof of concept for CVE-2023-49103.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- OwnCloud - Phpinfo Configuration http/cves/2023/CVE-2023-49103.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 1
- WID-SEC-2023-2985 ownCloud: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 27, 2026