matrix-android-sdk2 up to 1.5.0 Message key exchange without entity authentication
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.1 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in matrix-android-sdk2 up to 1.5.0. The impacted element is an unknown function of the component Message Handler. Such manipulation leads to key exchange without entity authentication. This vulnerability is traded as CVE-2022-39248. The attack may be launched remotely. Furthermore, there is an exploit available. The affected component should be upgraded.
Details
A vulnerability was found in matrix-android-sdk2 up to 1.5.0. It has been rated as critical. Affected by this issue is an unknown part of the component Message Handler. The manipulation with an unknown input leads to a key exchange without entity authentication vulnerability. Using CWE to declare the problem leads to CWE-322. The product performs a key exchange with an actor without verifying the identity of that actor. Impacted is integrity. CVE summarizes:
matrix-android-sdk2 is the Matrix SDK for Android. Prior to version 1.5.1, an attacker cooperating with a malicious homeserver can construct messages that legitimately appear to have come from another person, without any indication such as a grey shield. Additionally, a sophisticated attacker cooperating with a malicious homeserver could employ this vulnerability to perform a targeted attack in order to send fake to-device messages appearing to originate from another user. This can allow, for example, to inject the key backup secret during a self-verification, to make a targeted device start using a malicious key backup spoofed by the homeserver. matrix-android-sdk2 would then additionally sign such a key backup with its device key, spilling trust over to other devices trusting the matrix-android-sdk2 device. These attacks are possible due to a protocol confusion vulnerability that accepts to-device messages encrypted with Megolm instead of Olm. matrix-android-sdk2 version 1.5.1 has been modified to only accept Olm-encrypted to-device messages and to stop signing backups on a successful decryption. Out of caution, several other checks have been audited or added. This attack requires coordination between a malicious home server and an attacker, so those who trust their home servers do not need a workaround.
The weakness was shared 09/29/2022 as GHSA-fpgf-pjjv-2qgm. The advisory is shared for download at github.com. This vulnerability is handled as CVE-2022-39248 since 09/02/2022. Technical details are unknown but an exploit is available.
It is declared as proof-of-concept.
Upgrading to version 1.5.1 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 77df720a238d17308deab83ecaa37f7a4740a17e is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.1VulDB Meta Temp Score: 7.1
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CNA Base Score: 8.6
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Key exchange without entity authenticationCWE: CWE-322 / CWE-320
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Proof-of-Concept
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: matrix-android-sdk2 1.5.1
Patch: 77df720a238d17308deab83ecaa37f7a4740a17e
Timeline
09/02/2022 🔍09/29/2022 🔍
09/29/2022 🔍
10/25/2022 🔍
Sources
Advisory: GHSA-fpgf-pjjv-2qgmStatus: Confirmed
CVE: CVE-2022-39248 (🔍)
GCVE (CVE): GCVE-0-2022-39248
GCVE (VulDB): GCVE-100-209744
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 09/29/2022 08:45Updated: 10/25/2022 09:00
Changes: 09/29/2022 08:45 (54), 10/25/2022 09:00 (11)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.