Patchfirst
CVE-2023-49103 KEVPublic exploit High · 7.5 EPSS 77.8%

ownCloud graphapi Information Disclosure Vulnerability

ownCloud · ownCloud graphapi

Summary

The ownCloud graphapi app (versions 0.2.x before 0.2.1 and 0.3.x before 0.3.1) bundles a third-party GetPhpInfo.php library that, when its URL is reached, exposes the PHP environment configuration (phpinfo), including all webserver environment variables. An unauthenticated remote attacker can reach this endpoint over the network without user interaction, and simply disabling the graphapi app does not remove the exposure.

Official description · NVD

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.

Breakdown
68.2 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
3/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 6 days after disclosure. Public exploit code (Metasploit) was available the same day.

  1. DisclosedPublic exploit codeMetasploitday 0
  2. First seen exploitedVulnCheck KEV evidence+6 days
  3. Added to CISA KEVEU database agrees+9 days

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

See the family tree

2 related vulnerabilities in the same code over 2 weeks.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. This CVECVE-2023-49103ownCloud graphapi Information Disclosure21 Nov 2023KEV
  2. relatedHigh

    Why these are linked:

    CVE-2023-49283Test code in published microsoft-graph-core package exposes…5 Dec 2023

techniques

3 , grouped by in kill-chain order 3

Initial AccessTA0001

MITRE CTID mapping of the KEV entry · how it is exploited

This vulnerability is exploited through an unauthenticated information disclosure flaw in the Graph API extension of ownCloud. Attackers first used this vulnerability to gain initial access by targeting the /apps/graphapi/vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php endpoint, which allowed them to leak sensitive information via the PHP function phpinfo. By modifying the requested URI to bypass Apache web server rewrite rules, attackers could access environment variables containing secrets, such as usernames, passwords, and license keys.

Credential AccessTA0006

MITRE CTID mapping of the KEV entry · primary impact

CollectionTA0009

MITRE CTID mapping of the KEV entry · primary impact

Detection

0 rules for this CVE · 176 general rules for its techniques

Rules for this CVE

0 that reference CVE-2023-49103 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

General rules for this CVE’s techniques

These detect the technique in general, not this specific vulnerability.

Exploit Public-Facing ApplicationT1190149 general rules
Unsecured CredentialsT155213 general rules
Data from Local SystemT100514 general rules

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

3 links, grouped by NVD tag (2 duplicates merged)
↑ ↓ chooseEnter openEsc close