Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-39255— Matrix iOS SDK vulnerable ton Olm/Megolm protocol confusion

Quick assessment

Affected
matrix-org matrix-ios-sdk
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Matrix是一个雄心勃勃的新生态系统,用于开放联合即时消息和 VoIP。 Matrix iOS SDK 0.23.19 版本之前存在安全漏洞,该漏洞源于 matrix-ios-sdk 缺乏必要的检查。

CVSS 8.6 · High EPSS 0.78% · P53
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-39255

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Matrix iOS SDK vulnerable ton Olm/Megolm protocol confusion
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
未进行实体认证的密钥交换
Source: CVE Program / CVE List V5
Vulnerability Title
Matrix 授权问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Matrix是一个雄心勃勃的新生态系统,用于开放联合即时消息和 VoIP。 Matrix iOS SDK 0.23.19 版本之前存在安全漏洞,该漏洞源于 matrix-ios-sdk 缺乏必要的检查。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
matrix-org matrix-ios-sdk < 0.23.19 -

II. Public POCs for CVE-2022-39255

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-39255

登录查看更多情报信息。

Patches & Fixes for CVE-2022-39255 (1)

Vendor Advisories for CVE-2022-39255 (1)

Security Blog Posts for CVE-2022-39255 (1)

Other References for CVE-2022-39255 (1)

Same Patch Batch · matrix-org · 2022-09-28 · 7 CVEs total

CVE-2022-39248 8.6 HIGH matrix-android-sdk2 vulnerable to Olm/Megolm protocol confusion
CVE-2022-39251 8.6 HIGH Matrix Javascript SDK vulnerable to Olm/Megolm protocol confusion
CVE-2022-39246 7.5 HIGH matrix-android-sdk2 vulnerable to impersonation via forwarded Megolm sessions
CVE-2022-39249 7.5 HIGH Matrix Javascript SDK vulnerable to impersonation via forwarded Megolm sessions
CVE-2022-39257 7.5 HIGH Matrix iOS SDK vulnerable to impersonation via forwarded Megolm sessions
CVE-2022-39236 4.3 MEDIUM Matrix Javascript SDK improper beacon events can cause availability issues

IV. Related Vulnerabilities

V. Comments for CVE-2022-39255

No comments yet


Leave a comment