6.1
MEDIUM
CVE-2020-26891
Matrix Synapse AuthRestServlet XSS
Description

AuthRestServlet in Matrix Synapse before 1.21.0 is vulnerable to XSS due to unsafe interpolation of the session GET parameter. This allows a remote attacker to execute an XSS attack on the domain Synapse is hosted on, by supplying the victim user with a malicious URL to the /_matrix/client/r0/auth/*/fallback/web or /_matrix/client/unstable/auth/*/fallback/web Synapse endpoints.

INFO

Published Date :

Oct. 19, 2020, 5:15 p.m.

Last Modified :

Oct. 26, 2020, 9:30 p.m.

Remotely Exploitable :

Yes !

Impact Score :

2.7

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2020-26891 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Matrix synapse
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2020-26891.

URL Resource
https://github.com/matrix-org/synapse/pull/8444 Issue Tracking Patch Third Party Advisory
https://github.com/matrix-org/synapse/releases/tag/v1.21.2 Release Notes Third Party Advisory
https://github.com/matrix-org/synapse/security/advisories/GHSA-3x8c-fmpc-5rmq Patch Third Party Advisory
https://matrix.org/blog/2020/10/15/synapse-1-21-2-released-and-security-advisory Release Notes Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-26891 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-26891 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Oct. 26, 2020

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:N/I:P/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://github.com/matrix-org/synapse/pull/8444 No Types Assigned https://github.com/matrix-org/synapse/pull/8444 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://github.com/matrix-org/synapse/releases/tag/v1.21.2 No Types Assigned https://github.com/matrix-org/synapse/releases/tag/v1.21.2 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/matrix-org/synapse/security/advisories/GHSA-3x8c-fmpc-5rmq No Types Assigned https://github.com/matrix-org/synapse/security/advisories/GHSA-3x8c-fmpc-5rmq Patch, Third Party Advisory
    Changed Reference Type https://matrix.org/blog/2020/10/15/synapse-1-21-2-released-and-security-advisory No Types Assigned https://matrix.org/blog/2020/10/15/synapse-1-21-2-released-and-security-advisory Release Notes, Vendor Advisory
    Added CWE NIST CWE-79
    Added CPE Configuration OR *cpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:* versions up to (excluding) 1.21.0
  • CVE Modified by [email protected]

    Oct. 20, 2020

    Action Type Old Value New Value
    Changed Description AuthRestServlet in Matrix Synapse before 1.21.0 is vulnerable to XSS due to unsafe interpolation of the session GET parameter. This allows a remote attacker to execute an XSS attack on the domain Synapse is hosted on, by supplying the victim user with a malicious URL to the /_matrix/client/r0/auth/m.login.recaptcha or /_matrix/client/r0/auth/m.login.terms Synapse 974923. AuthRestServlet in Matrix Synapse before 1.21.0 is vulnerable to XSS due to unsafe interpolation of the session GET parameter. This allows a remote attacker to execute an XSS attack on the domain Synapse is hosted on, by supplying the victim user with a malicious URL to the /_matrix/client/r0/auth/*/fallback/web or /_matrix/client/unstable/auth/*/fallback/web Synapse endpoints.
    Removed Reference https://github.com/matrix-org/synapse/releases [No Types Assigned]
    Added Reference https://github.com/matrix-org/synapse/releases/tag/v1.21.2 [No Types Assigned]
    Added Reference https://github.com/matrix-org/synapse/security/advisories/GHSA-3x8c-fmpc-5rmq [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-26891 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2020-26891 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.16 }} -0.07%

score

0.52969

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability