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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-39248— matrix-android-sdk2 vulnerable to Olm/Megolm protocol confusion

Quick assessment

Affected
matrix-org matrix-android-sdk2
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 matrix-android-sdk2 1.5.1之前的版本存在安全漏洞,该漏洞源于其协议混淆问题导致与恶意主服务器合作的攻击者可以构建合法看似来自他人的消息,而没有任何指示(例如灰色盾牌)。

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

I. Basic Information for CVE-2022-39248

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-android-sdk2 vulnerable to Olm/Megolm protocol confusion
Source: CVE Program / CVE List V5
Vulnerability Description
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.
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 matrix-android-sdk2 1.5.1之前的版本存在安全漏洞,该漏洞源于其协议混淆问题导致与恶意主服务器合作的攻击者可以构建合法看似来自他人的消息,而没有任何指示(例如灰色盾牌)。
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-android-sdk2 < 1.5.1 -

II. Public POCs for CVE-2022-39248

# 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-39248

请登录查看更多情报信息。

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

Vendor Advisories for CVE-2022-39248 (1)

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

Other References for CVE-2022-39248 (1)

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

CVE-2022-39251 8.6 HIGH Matrix Javascript SDK vulnerable to Olm/Megolm protocol confusion
CVE-2022-39255 8.6 HIGH Matrix iOS SDK vulnerable ton 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-39248

No comments yet


Leave a comment