Remote user enumeration via unchecked federation queries
Published Oct 31, 2023 · Updated Feb 13, 2025
Information disclosure in Matrix.org Synapse before 1.95.1 allows remote attackers to enumerate remote users through federation queries. The on_query_user_devices, on_federation_query_client_keys, and on_claim_client_keys handlers accepted nonlocal user IDs and queried cached devices or keys without verifying that the users belonged to the receiving homeserver. Any network-reachable federation peer can trigger the queries; disclosure is limited to cached device details and identities for remote users already known to the homeserver.
Summary
What happened
Information disclosure in Matrix.org Synapse before 1.95.1 allows remote attackers to enumerate remote users through federation queries. The on_query_user_devices, on_federation_query_client_keys, and on_claim_client_keys handlers accepted nonlocal user IDs and queried cached devices or keys without verifying that the users belonged to the receiving homeserver. Any network-reachable federation peer can trigger the queries; disclosure is limited to cached device details and identities for remote users already known to the homeserver.
The record
- CVE
- CVE-2023-43796
- Published
- Oct 31, 2023
- Updated
- Feb 13, 2025
- Vendor
- Matrix.org
- Product
- Synapse
- Classifications
- T1087
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 31, 2023CVE publishedPublication date reported by the CVE source.
- Feb 13, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 1.95.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo