CVE-2021-41281: high-severity vulnerability in matrix-org synapse
Path traversal in Matrix Synapse
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Matrix Synapse's media repository can be tricked into downloading files to arbitrary directories on the server without authentication. While the final directory and filename are randomized, this could still allow an attacker to write files in unexpected locations.
Path traversal vulnerability in Synapse's media repository endpoint allows unauthenticated attackers to specify arbitrary download paths via traversal sequences (../); impact is mitigated by random selection of the last 2 directory levels and filename by Synapse. Affected only if media repository is enabled and no federation whitelist is configured; exploitation requires network access to the media endpoint.
In the same product, most dangerous first.