You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.
Dendrite version or git SHA: c6acb94af4bc88eb999e56da4f6e0132438cb50a
Monolith or Polylith?: Polylith
SQLite3 or Postgres?: Postgres
Running in Docker?: no
go version: go1.16.4 linux/amd64
Description
It is possible to use my instance, to mirror content of other instances (and vice-versa). I've sent an image, a simple, unencrypted image, from @cyjan:mrcyjanek.net to a small group (with users from mrcyjanek.net, matrix.org and t2bot.io). This group is private.
Here is source of this message:
matrix.org, mrcyjanek.net and t2bot.io should only reply to this request, and other homeservers, which don't participate in this chat should ignore this request, since this group is private they shouldn't be able to access this image.
p.s. is it okay that this link just work for one-to-one chats and private groups? Shouldn't it require some form of authentication? I know that this issue doesn't happen with E2EE chat, but still private group should be private.
The text was updated successfully, but these errors were encountered:
Ultimately this is working as intended. The media API is not aware of room memberships or resident servers.
It’s also not so much that your media is being proactively replicated to other servers when it is first uploaded, but rather that those servers are seeking out the location of the media from the origin server in the URL when you ask them to.
And it isn't viewed as an issue? I know that it isn't send to the whole federation at once, but somebody with list of all servers could just use them as a mirror for a file... Are there any plans to implement some kind of authentication before allowing to access /_matrix/media paths?
Background information
c6acb94af4bc88eb999e56da4f6e0132438cb50a
Polylith
Postgres
no
go version
:go1.16.4 linux/amd64
Description
It is possible to use my instance, to mirror content of other instances (and vice-versa). I've sent an image, a simple, unencrypted image, from
@cyjan:mrcyjanek.net
to a small group (with users from mrcyjanek.net, matrix.org and t2bot.io). This group is private.Here is source of this message:
And I can access that image by these links:
That's all fine - but why is my image also being sent to other homeservers?
Steps to reproduce
Expected result
matrix.org, mrcyjanek.net and t2bot.io should only reply to this request, and other homeservers, which don't participate in this chat should ignore this request, since this group is private they shouldn't be able to access this image.
p.s. is it okay that this link just work for one-to-one chats and private groups? Shouldn't it require some form of authentication? I know that this issue doesn't happen with E2EE chat, but still private group should be private.
The text was updated successfully, but these errors were encountered: