QID 730985

Date Published: 2023-11-27

QID 730985: OwnCloud Sensitive Information Disclosure Vulnerability

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. Affected Versions:
graphapi 0.2.0 - 0.3.0

QID Detection Logic (Unauthenticated):
This detection sends a HTTP GET request to the '/owncloud/apps/graphapi/vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php' endpoint to check for vulnerable assets.

Successful exploitation of the vulnerability may allow a remote unauthenticated attacker to disclose sensitive information.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Critical - 10 severity.
  • Solution
    Vendor has advised to delete the 'owncloud/apps/graphapi/vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php' file. For more information regarding the vulnerability, please refer OwnCloud Security Advisory

    CVEs related to QID 730985

    Software Advisories
    Advisory ID Software Component Link
    OwnCloud Security Advisory URL Logo owncloud.com/security-advisories/disclosure-of-sensitive-credentials-and-configuration-in-containerized-deployments/