CVE-2022-39250
published 2022-09-29CVE-2022-39250: Matrix JavaScript SDK is the Matrix Client-Server software development kit (SDK) for JavaScript. Prior to version 19.7.0, an attacker cooperating with a…
PriorityP341high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
0.94%
57.0th percentile
Matrix JavaScript SDK is the Matrix Client-Server software development kit (SDK) for JavaScript. Prior to version 19.7.0, an attacker cooperating with a malicious homeserver could interfere with the verification flow between two users, injecting its own cross-signing user identity in place of one of the users’ identities. This would lead to the other device trusting/verifying the user identity under the control of the homeserver instead of the intended one. The vulnerability is a bug in the matrix-js-sdk, caused by checking and signing user identities and devices in two separate steps, and inadequately fixing the keys to be signed between those steps. Even though the attack is partly made possible due to the design decision of treating cross-signing user identities as Matrix devices on the server side (with their device ID set to the public part of the user identity key), no other examined implementations were vulnerable. Starting with version 19.7.0, the matrix-js-sdk has been modified to double check that the key signed is the one that was verified instead of just referencing the key by ID. An additional check has been made to report an error when one of the device ID matches a cross-signing key. As this attack requires coordination between a malicious homeserver and an attacker, those who trust their homeservers do not need a particular workaround.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | node-matrix-js-sdk | — | — |
| matrix-org | matrix-js-sdk | < 19.7.0 | 19.7.0 |
| matrix-org | matrix-js-sdk | >= 0 < 19.7.0 | 19.7.0 |
| matrix | javascript_sdk | < 19.7.0 | 19.7.0 |
| mozilla | firefox | — | — |
| mozilla | thunderbird | >= 0 < 1:102.4.2+build2-0ubuntu0.18.04.1 | 1:102.4.2+build2-0ubuntu0.18.04.1 |
| mozilla | thunderbird | >= 0 < 1:102.4.2+build2-0ubuntu0.20.04.1 | 1:102.4.2+build2-0ubuntu0.20.04.1 |
| mozilla | thunderbird | >= 0 < 1:102.4.2+build2-0ubuntu0.22.04.1 | 1:102.4.2+build2-0ubuntu0.22.04.1 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
osv7.5HIGH
vendor_debian8.6HIGH
vendor_redhat8.6HIGH
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Thunderbird vulnerabilities
vendor_ubuntu·2022-11-11·CVSS 5.5
CVE-2022-40956 [MEDIUM] Thunderbird vulnerabilities
Title: Thunderbird vulnerabilities
Summary: Several security issues were fixed in Thunderbird.
Multiple security issues were discovered in Thunderbird. If a user were
tricked into opening a specially crafted website in a browsing context, an
attacker could potentially exploit these to cause a denial of service,
bypass Content Security Policy (CSP) or other security restrictions, or
execute arbitrary code. These issues only affect Ubuntu 18.04 LTS, Ubuntu
20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-3266, CVE-2022-40956,
CVE-2022-40957, CVE-2022-40958, CVE-2022-40959, CVE-2022-40960,
CVE-2022-40962)
Multiple security issues were discovered in the Matrix SDK bundled with
Thunderbird. An attacker could potentially exploit these in order to
impersonate another user. These issues only affect Ub
Red Hat
Mozilla: Matrix SDK bundled with Thunderbird vulnerable to a device verification attack
vendor_redhat·2022-09-28·CVSS 8.6
CVE-2022-39250 [HIGH] CWE-287 Mozilla: Matrix SDK bundled with Thunderbird vulnerable to a device verification attack
Mozilla: Matrix SDK bundled with Thunderbird vulnerable to a device verification attack
Matrix JavaScript SDK is the Matrix Client-Server software development kit (SDK) for JavaScript. Prior to version 19.7.0, an attacker cooperating with a malicious homeserver could interfere with the verification flow between two users, injecting its own cross-signing user identity in place of one of the users’ identities. This would lead to the other device trusting/verifying the user identity under the control of the homeserver instead of the intended one. The vulnerability is a bug in the matrix-js-sdk, caused by checking and signing user identities and devices in two separate steps, and inadequately fixing the keys to be signed between those steps. Even though the attack is partly made possible due
Debian
CVE-2022-39250: node-matrix-js-sdk - Matrix JavaScript SDK is the Matrix Client-Server software development kit (SDK)...
vendor_debian·2022·CVSS 8.6
CVE-2022-39250 [HIGH] CVE-2022-39250: node-matrix-js-sdk - Matrix JavaScript SDK is the Matrix Client-Server software development kit (SDK)...
Matrix JavaScript SDK is the Matrix Client-Server software development kit (SDK) for JavaScript. Prior to version 19.7.0, an attacker cooperating with a malicious homeserver could interfere with the verification flow between two users, injecting its own cross-signing user identity in place of one of the users’ identities. This would lead to the other device trusting/verifying the user identity under the control of the homeserver instead of the intended one. The vulnerability is a bug in the matrix-js-sdk, caused by checking and signing user identities and devices in two separate steps, and inadequately fixing the keys to be signed between those steps. Even though the attack is partly made possible due to the design decision of treating cross-signing user identities as Matrix devices on the
Mozilla
Mozilla Foundation Security Advisory 2022-43: CVE-2022-39250
vendor_mozilla·CVSS 8.6
CVE-2022-39250 [HIGH] Mozilla Foundation Security Advisory 2022-43: CVE-2022-39250
Mozilla Foundation Security Advisory 2022-43
CVE: CVE-2022-39250
Product: Thunderbird
Impact: moderate
Fixed in: Thunderbird 102.3.1
OSV
thunderbird vulnerabilities
osv·2022-11-11·CVSS 5.5
CVE-2022-3266 [MEDIUM] thunderbird vulnerabilities
thunderbird vulnerabilities
Multiple security issues were discovered in Thunderbird. If a user were
tricked into opening a specially crafted website in a browsing context, an
attacker could potentially exploit these to cause a denial of service,
bypass Content Security Policy (CSP) or other security restrictions, or
execute arbitrary code. These issues only affect Ubuntu 18.04 LTS, Ubuntu
20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-3266, CVE-2022-40956,
CVE-2022-40957, CVE-2022-40958, CVE-2022-40959, CVE-2022-40960,
CVE-2022-40962)
Multiple security issues were discovered in the Matrix SDK bundled with
Thunderbird. An attacker could potentially exploit these in order to
impersonate another user. These issues only affect Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-392
OSV
matrix-js-sdk subject to user impersonation due to key/device identifier confusion in SAS verification
osv·2022-09-30
CVE-2022-39250 [HIGH] matrix-js-sdk subject to user impersonation due to key/device identifier confusion in SAS verification
matrix-js-sdk subject to user impersonation due to key/device identifier confusion in SAS verification
## Impact
An attacker cooperating with a malicious homeserver could interfere with the verification flow between two users, injecting its own cross-signing user identity in place of one of the users’ identities, leading to the other device trusting/verifying the user identity under the control of the homeserver instead of the intended one.
The vulnerability is a bug in the matrix-js-sdk, caused by checking and signing user identities and devices in two separate steps, and inadequately fixing the keys to be signed between those steps.
Even though the attack is partly made possible due to the design decision of treating cross-signing user identities as Matrix devices on the server side
GHSA
matrix-js-sdk subject to user impersonation due to key/device identifier confusion in SAS verification
ghsa·2022-09-30
CVE-2022-39250 [HIGH] CWE-287 matrix-js-sdk subject to user impersonation due to key/device identifier confusion in SAS verification
matrix-js-sdk subject to user impersonation due to key/device identifier confusion in SAS verification
## Impact
An attacker cooperating with a malicious homeserver could interfere with the verification flow between two users, injecting its own cross-signing user identity in place of one of the users’ identities, leading to the other device trusting/verifying the user identity under the control of the homeserver instead of the intended one.
The vulnerability is a bug in the matrix-js-sdk, caused by checking and signing user identities and devices in two separate steps, and inadequately fixing the keys to be signed between those steps.
Even though the attack is partly made possible due to the design decision of treating cross-signing user identities as Matrix devices on the server side
OSV
CVE-2022-39250: Matrix JavaScript SDK is the Matrix Client-Server software development kit (SDK) for JavaScript
osv·2022-09-29·CVSS 7.5
CVE-2022-39250 [HIGH] CVE-2022-39250: Matrix JavaScript SDK is the Matrix Client-Server software development kit (SDK) for JavaScript
Matrix JavaScript SDK is the Matrix Client-Server software development kit (SDK) for JavaScript. Prior to version 19.7.0, an attacker cooperating with a malicious homeserver could interfere with the verification flow between two users, injecting its own cross-signing user identity in place of one of the users’ identities. This would lead to the other device trusting/verifying the user identity under the control of the homeserver instead of the intended one. The vulnerability is a bug in the matrix-js-sdk, caused by checking and signing user identities and devices in two separate steps, and inadequately fixing the keys to be signed between those steps. Even though the attack is partly made possible due to the design decision of treating cross-signing user identities as Matrix devices on the
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/matrix-org/matrix-js-sdk/commit/a587d7c36026fe1fcf93dfff63588abee359be76https://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.7.0https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-5w8r-8pgj-5jmfhttps://matrix.org/blog/2022/09/28/upgrade-now-to-address-encryption-vulns-in-matrix-sdks-and-clientshttps://security.gentoo.org/glsa/202210-35https://github.com/matrix-org/matrix-js-sdk/commit/a587d7c36026fe1fcf93dfff63588abee359be76https://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.7.0https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-5w8r-8pgj-5jmfhttps://matrix.org/blog/2022/09/28/upgrade-now-to-address-encryption-vulns-in-matrix-sdks-and-clientshttps://security.gentoo.org/glsa/202210-35
2022-09-29
Published