Skip to content
Access control Write-up Advanced

Owncloud: details about CVE-2023-49103 and CVE-2023-49105

OwnCloud's WebDAV authentication used a blank signing key by default, letting unauthenticated attackers impersonate any user and read, modify, or delete their files. Authenticated users could also escalate to admin by spoofing their session user ID and bypassing a token check.

Charles Fol Follow

Published on ambionics.io

On November 21th 2023, Owncloud released a new version patching two vulnerabilities (1 and 2) we reported a few weeks before. The vulnerabilities were assigned CVE-2023-49103 and CVE-2023-49105.

Charles Fol (@cfreal_), on ambionics.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the default signing key was an empty string, and the session authentication logic trusted a user ID set via a signed URL without re-verifying the token.

Impact

An unauthenticated attacker could read, create, modify, or delete any user's files, and in some cases achieve remote code execution; an authenticated user could escalate to administrator and then get remote code execution.

What the attacker needed

OwnCloud 10.6.0 to 10.13.0; know the victim's username; for escalation: a standard account

The fix

The vulnerabilities were fixed in OwnCloud version 10.13.0.

How it was found

  1. Log in as a standard user.
  2. Use the URL-signing mechanism to spoof your user_id.
  3. Access any page with an invalid token in the Authorization header.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

OwnCloud is a file-sharing server. It let people prove who they are with a signature, but the secret used to make that signature was empty by default, so anyone could forge it. That meant a stranger could act as any user and access their files.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Charles Fol

View all

8 more disclosed reports, best first.

More from ownCloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.