grapevine/book
Olivia Lee e6f6fb0861
validate membership events returned by remote servers
This fixes a vulnerability where an attacker with a a malicious remote
server and a user on the local server can trick the local server into
signing arbitrary events. The attacker issue a remote leave as the local
user to a room on the malicious server. Without any validation of the
make_leave response, the local server would sign the attacker-controlled
event and pass it back to the malicious server with send_leave.

The join endpoints is also fixed in this commit, but is less useful for
exploitation because the local server replaces the "content" field
returned by the remote server. Remote invites are unaffected because we
already check that the event returned from /invite has the same event ID
as the event passed to it.
2025-12-30 17:11:01 -08:00
..
contributing add a style guide 2024-12-11 14:01:38 -08:00
installing document that conduwuit migration is unlikely to work 2025-04-11 13:10:23 -07:00
changelog.md validate membership events returned by remote servers 2025-12-30 17:11:01 -08:00
code-of-conduct.md add a code of conduct 2024-06-17 16:39:22 -07:00
contributing.md move security info to its own page 2024-12-11 13:26:16 -08:00
installing.md document supported targets 2024-12-13 16:59:13 -08:00
introduction.md improve link accessibility 2025-08-06 12:27:45 -07:00
migration.md move conduit migration to installing section 2024-12-13 16:59:13 -08:00
SUMMARY.md document that conduwuit migration is unlikely to work 2025-04-11 13:10:23 -07:00