Product and affected versions
- graphapi app: versions 0.2.0 to 0.3.0
- core: versions 10.6.0 to 10.13.0
- oauth2 app: versions before 0.6.1
Severity and CVE IDs
- CVE-2023-49103 (graphapi): disclosure of sensitive credentials and configuration. Rated 10.0 by ownCloud and 7.5 (High) by NVD. Listed in CISA’s KEV catalog after active exploitation.
- CVE-2023-49105 (core): WebDAV API authentication bypass using pre-signed URLs. CVSS 9.8 (Critical). Also listed in CISA’s KEV catalog.
- CVE-2023-49104 (oauth2): subdomain validation bypass. CVSS 6.1 (Medium).
Vulnerability
- Disclosure of sensitive information (graphapi): exposes sensitive credentials and configuration in containerized deployments.
- WebDAV API authentication bypass (core): allows unauthorized access, modification or deletion of files without authentication.
- Subdomain validation bypass (oauth2): improper access control allows redirection to a crafted URL, bypassing validation.
How the attack works
- CVE-2023-49103: requesting a URL provided by a third-party library in the graphapi app returns the PHP environment, which can include admin passwords, mail server credentials and license keys.
- CVE-2023-49105: if the victim’s username is known and they have not configured a signing key (the default), an attacker can access, modify or delete their files without authentication.
- CVE-2023-49104: a crafted redirect URL bypasses validation, letting an attacker redirect OAuth callbacks to a domain they control.
Remediations
- graphapi: delete the file
owncloud/apps/graphapi/vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php, disable thephpinfofunction, and change admin passwords, mail server and database credentials, and Object-Store/S3 access keys. - core: update to core 10.13.1 or later.
- oauth2: update to oauth2 0.6.1 or later. As a workaround, disable the “Allow Subdomains” option.
Reference
Based on ownCloud’s security advisories of November 2023. See the NVD entries for CVE-2023-49103, CVE-2023-49105 and CVE-2023-49104.


