ownCloud
ownCloud Improper Authentication Vulnerability
An issue was discovered in ownCloud owncloud/core before 10.13.1. An attacker can access, modify, or delete any file without authentication if the username of a victim is known, and the victim has no signing-key configured. This occurs because pre-signed URLs can be accepted even when no signing-key is configured for the owner of the files. The earliest affected version is 10.6.0.
Timeline
Days relative to CVE publicationFirst public PoC 14 days after publication; added to CISA KEV 2.8 years after publication. First PoC: ambionics/owncloud-exploits (created 5 Dec 2023, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ambionics/owncloud-exploits | 5 Dec 2023 +14 d | 41 | PoC via PoC Index |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoANY /remote.php/dav/files/{var}
- Query
OC-Credential={var}OC-Verb={var}OC-Expires=1000OC-Date=OC-Signature=- Ports
- 80, 443
- PoC User-Agent
body_markers- Seen in
- 1 repo: ambionics/owncloud-exploits
- Evidence
- ambionics/owncloud-exploits/pwncloud-webdav.py:37-40 ambionics/owncloud-exploits/pwncloud-webdav.py:66-82 ambionics/owncloud-exploits/pwncloud-webdav.py:119-129
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/remote\.php/dav/files/[^/?#]*\?(?:.*&)?OC-Credential=\{var\}.*OC-Verb=\{var\}.*OC-Expires=1000.*OC-Date=.*OC-Signature=
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [80,443] (msg:"GG PoC-Monitor CVE-2023-49105 ownCloud ownCloud exploit attempt"; flow:established,to_server; http.method; content:"ANY"; http.uri; content:"/remote.php/dav/files/"; http.uri; content:"OC-Credential={var}"; http.uri; content:"OC-Verb={var}"; http.uri; content:"OC-Expires=1000"; http.uri; content:"OC-Date="; http.uri; content:"OC-Signature="; reference:url,poc.griffinguard.io/cve/CVE-2023-49105; classtype:web-application-attack; sid:9174578; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: ownCloud ownCloud exploit attempt (CVE-2023-49105)
id: gg-pocmon-cve-2023-49105-9174578
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-49105. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2023-49105
logsource:
category: webserver
detection:
selection:
cs-method: ANY
cs-uri-stem|contains|all:
- '/remote.php/dav/files/'
cs-uri-query|contains|all:
- 'OC-Credential={var}'
- 'OC-Verb={var}'
- 'OC-Expires=1000'
- 'OC-Date='
- 'OC-Signature='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2023.49105