Hunt prep
Before you test ownCloud
What 93 disclosed reports say about ownCloud: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 11
- median public bounty
- $200
- highest public bounty
- $2,000
Gaps worth testing 15
Ideas drawn from this program's disclosed reports and our class lessons. None of them is a known bug: each is a place to look, and the reports linked under it are why. Check the current scope before testing anything.
-
1
Re-test CSRF token enforcement across state-changing endpoints
Report #20509 found that most requests lacked CSRF token enforcement, likely because an empty Authorization header was treated as present. Test other state-changing endpoints such as sharing, password change, email change and app management to see whether the same middleware bypass applies, since the root cause was a general check rather than one endpoint.
Backed byCross-Site Request Forgery (2023) owncloud.com: Account Compromise Through CSRF (2016) apps.owncloud.com: CSRF change privacy settings (2016)+2 more reports
From the lessons: API endpoints.; CSRF token validation.; CSRF protection bypass.; Change account settings via a cross-site request and check whether the...; Chain CSRF to achieve full account takeover.
-
2
Federated share permission escalation on sibling notification types
Access control Read the lesson
Report #20134 showed a recipient could raise their own federated share permissions via a RESHARE_CHANGE_PERMISSION notification. Test other federated notification types and the share acceptance flow for missing checks that the sender is authorised to alter the share, including whether a recipient can change owner or reshare rights.
-
3
PreSignedURL expiry and signature checks on other signed endpoints
Access control Read the lesson
Report #20705 found expired PreSignedURLs skipped signature verification because the expiry check returned a null error. Test other signed URL features such as public link downloads, WebDAV signed requests and share tokens for the same pattern where an invalid or expired value causes the verification step to be skipped rather than rejected.
-
4
ImageMagick preview generation for other dangerous delegates
Report #20020 showed the preview generator passed uploaded files to ImageMagick without restricting the MSL delegate, allowing file write and code execution. Test other file types that reach the preview or thumbnail pipeline, such as SVG, EPS, MVG and PDF, to see whether other delegates or coders are reachable and whether the fix restricts only MSL.
-
5
Path validation in Android exported activities beyond the fixed check
Path traversal Read the lesson
Reports #18647, #18985 and #19783 all involved exported activities accepting file URIs with weak path validation. Test the remaining exported activities and intent filters, including SEND, SEND_MULTIPLE and VIEW, for canonical path resolution gaps and for content provider URIs that reach private directories.
-
6
SQL injection in other Android content providers
Report #20021 found the exported FileContentProvider passed parameters straight into SQL statements. Test other exported content providers and the query, insert, update and delete methods for the same lack of parameterisation, and check whether projection and selection arguments are also concatenated.
-
7
Newline injection in other LDAP and plugin configuration fields
Report #18520 found the LDAP password field lacked the newline check applied to other settings, allowing protocol smuggling to internal services. Test the remaining user_ldap settings and other plugin configuration fields that feed external services for missing newline filtering, since the fix was field-specific.
-
8
Configurable executable paths in marketplace apps
Report #18147 showed the files_antivirus plugin let an admin point the scanner path at the PHP interpreter. Test other marketplace apps that accept a binary or command path in their settings, such as preview, conversion or backup tools, to see whether arbitrary executables can be configured and fed uploaded files.
-
9
Deserialisation and path traversal in backup restore features
Report #15310 found the OwnBackup restore passed backup data into unsafe deserialisation and used an unvalidated table name in a file path. Test other restore, import and migration features for object injection and traversal in file paths, and check whether the table parameter fix covers all restore paths.
-
10
Password complexity enforcement on reset and admin-set paths
Account takeover Read the lesson
Report #14062 found the password change endpoint did not enforce the configured complexity policy. Test the password reset flow, admin user creation and API password update paths for the same missing validation, and check whether the policy is applied consistently across all entry points.
-
11
Full path disclosure in error messages across endpoints
Info disclosure Read the lesson
Reports #11040 and #11041 showed error messages leaking absolute filesystem paths from the file editor and profile picture upload. Test other endpoints that handle files, such as preview, download, share and app install, for error responses that include server paths, since the fix may have been endpoint-specific.
-
12
Directory enumeration through the file scan endpoint
Info disclosure Read the lesson
Report #11031 found the file-scanning endpoint trusted a force parameter and let any user enumerate other users' directory structures. Test the current scan and indexing endpoints for missing ownership checks on the requested directory, and check whether the force parameter still bypasses per-user scoping.
-
13
CRLF injection in redirect and header-building paths
Misconfiguration Read the lesson
Reports #12078 and #12079 found carriage returns reflected into Location headers on API and documentation hosts, allowing cookie injection. Test other redirect endpoints and header-building code across ownCloud hosts for missing stripping of carriage return and line feed characters, including the open redirect in #13338.
Backed by[api.owncloud.org] CRLF Injection (2016) [doc.owncloud.org] CRLF Injection (2016) owncloud.com open redirect (2017)From the lessons: Put encoded carriage return and line feed characters into a parameter...; Parameters that are reflected into Set-Cookie and Location response he...
-
14
Referer-based CSRF protection bypass on appstore endpoints
Report #11045 showed the appstore used a weak Referer regex as CSRF protection. Test the current appstore and marketplace endpoints for Referer checks that can be satisfied by crafted values, and check whether token-based protection has replaced the Referer check everywhere.
Backed byapps.owncloud.com: Referer protection Bypassed (2016) apps.owncloud.com: CSRF change privacy settings (2016) CSRF in apps.owncloud.com (2016)From the lessons: Referer check protection.; CSRF protection bypass.; Change account settings via a cross-site request and check whether the...
-
15
Subdomain takeover on dangling third-party records
Subdomain takeover Read the lesson
Report #33218 showed a dangling CNAME to an unclaimed Fider service allowed subdomain takeover. Enumerate ownCloud subdomains for records pointing at unclaimed third-party services such as hosting, documentation and CI platforms, and check whether any can be claimed.
From the lessons: Resolve subdomains and check whether they point to unclaimed third-par...; Resolve subdomains and check whether any point to an unclaimed cloud p...
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Access control lesson | 7 | 2 | $1,250 | $2,000 | $2,500 |
| Path traversal lesson | 3 | 3 | $50 | $750 | $850 |
| Crypto lesson | 5 | 1 | $350 | $350 | $350 |
| SQL injection lesson | 1 | 1 | $300 | $300 | $300 |
| Subdomain takeover lesson | 1 | 1 | $200 | $200 | $200 |
| XSS lesson | 22 | 1 | $150 | $150 | $150 |
| Open redirect lesson | 2 | 1 | $150 | $150 | $150 |
| RCE lesson | 8 | 1 | $50 | $50 | $50 |
| Info disclosure lesson | 15 | 0 | – | – | $0 |
| Account takeover lesson | 5 | 0 | – | – | $0 |
| CSRF lesson | 5 | 0 | – | – | $0 |
| Misconfiguration lesson | 4 | 0 | – | – | $0 |
| DoS lesson | 3 | 0 | – | – | $0 |
| Business logic lesson | 3 | 0 | – | – | $0 |
| Smuggling / CRLF lesson | 2 | 0 | – | – | $0 |
| Mobile lesson | 1 | 0 | – | – | $0 |
| Memory corruption lesson | 1 | 0 | – | – | $0 |
| UI spoofing lesson | 1 | 0 | – | – | $0 |
| SSRF lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
Authentication Bypass with usage of PreSignedURL
The report only provides a temporary workaround of disabling PreSignedURLs; it does not state that a permanent fix was applied.
Disclosed
-
GitHub Security Lab (GHSL) Vulnerability Report: SQLInjection in FileContentProvider.kt (GHSL-2022-059)
The content provider should validate and sanitise all user input, use parameterised queries, and set exported to false if not needed.
Disclosed
-
GitHub Security Lab (GHSL) Vulnerability Report: Insufficient path validation in ReceiveExternalFilesActivity.java (GHSL-2022-060)
Validate user input before using it to construct a file path, following rules such as disallowing directory separators and using an allowlist.
Disclosed
-
Theft of protected files on Android
The protection used for the SEND intent filter should be applied to the SEND_MULTIPLE intent filter to prevent access to protected files.
Disclosed
-
Possible to steal any protected files on Android
The folder check should be extended to cover the alternative path.
Disclosed
-
HTML injection in Desktop Client
The client should escape user-supplied content before inserting it into HTML, as shown in the patch proposal.
Disclosed
-
bug reporting template encourages users to paste config file with passwords
The template should be changed to avoid asking for raw config content, and existing reports should be searched and edited to remove passwords.
Disclosed
-
Outdated Jenkins server hosted at OwnCloud.org
The Jenkins server should be updated to the latest version.
Disclosed
-
SMB User Authentication Bypass and Persistence
The authentication command should be changed to one that actually authenticates the user, and the host parameter should be properly escaped.
Disclosed
-
doc.owncloud.org: X-XSS-Protection not enabled
The header should be added at the web server level, for example with the provided Nginx or Apache configuration directives.
Disclosed
-
Exploiting unauthenticated encryption mode
Authenticated encryption was introduced as a hardening measure in ownCloud 9.0, so tampered files are no longer downloadable.
Disclosed
-
owncloud.com: Account Compromise Through CSRF
The issue was mitigated; the text does not say how.
Disclosed
-
Self-XSS in mails sent by [email protected]
The company worked with the third-party email provider so that new user names are no longer used in vulnerable contexts, though existing names were not corrected.
Disclosed
-
Mixed Active Scripting Issue on stats.owncloud.org
All content on the page, including images, JavaScript, and fonts, should be loaded over HTTPS.
Disclosed
-
s2.owncloud.com: Web Server HTTP Trace/Track Method Support Cross-Site Tracing Vulnerability
The TRACE method should be disabled on the web server, for example with Apache's TraceEnable directive or by blocking it with mod_rewrite.
Disclosed