matrix-ios-sdk up to 0.23.18 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, which was classified as critical, was found in matrix-ios-sdk up to 0.23.18. Affected is an unknown function of the component Message Handler. The manipulation results in key exchange without entity authentication. This vulnerability is identified as CVE-2022-39255. The attack can be executed remotely. There is not any exploit available. You should upgrade the affected component.
Details
A vulnerability classified as critical has been found in matrix-ios-sdk up to 0.23.18. Affected is some unknown functionality of the component Message Handler. The manipulation with an unknown input leads to a key exchange without entity authentication vulnerability. CWE is classifying the issue as CWE-322. The product performs a key exchange with an actor without verifying the identity of that actor. This is going to have an impact on integrity. CVE summarizes:
Matrix iOS SDK allows developers to build iOS apps compatible with Matrix. Prior to version 0.23.19, 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. These attacks are possible due to a protocol confusion vulnerability that accepts to-device messages encrypted with Megolm instead of Olm. matrix-ios-sdk version 0.23.19 has been modified to only accept Olm-encrypted to-device messages. 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. To avoid malicious backup attacks, one should not verify one's new logins using emoji/QR verifications methods until patched.
The weakness was released 09/29/2022 as GHSA-hw6g-j8v6-9hcm. The advisory is shared for download at github.com. This vulnerability is traded as CVE-2022-39255 since 09/02/2022. There are neither technical details nor an exploit publicly available.
Upgrading to version 0.23.19 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 5ca86c328a5faaab429c240551cb9ca8f0f6262c 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
- 0.23.0
- 0.23.1
- 0.23.2
- 0.23.3
- 0.23.4
- 0.23.5
- 0.23.6
- 0.23.7
- 0.23.8
- 0.23.9
- 0.23.10
- 0.23.11
- 0.23.12
- 0.23.13
- 0.23.14
- 0.23.15
- 0.23.16
- 0.23.17
- 0.23.18
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: Not defined
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-ios-sdk 0.23.19
Patch: 5ca86c328a5faaab429c240551cb9ca8f0f6262c
Timeline
09/02/2022 🔍09/29/2022 🔍
09/29/2022 🔍
10/25/2022 🔍
Sources
Advisory: GHSA-hw6g-j8v6-9hcmStatus: Confirmed
CVE: CVE-2022-39255 (🔍)
GCVE (CVE): GCVE-0-2022-39255
GCVE (VulDB): GCVE-100-209736
Entry
Created: 09/29/2022 08:34Updated: 10/25/2022 08:39
Changes: 09/29/2022 08:34 (53), 10/25/2022 08:39 (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.