CVE-2022-39257: Matrix iOS SDK vulnerable to impersonation via forwarded Megolm sessions
matrix-org · matrix-ios-sdk
Vendor fix available · Affected: matrix-org matrix-ios-sdk · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 63% of scored CVEs
DescriptionCVE.org
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 appearing to have come from another person. Such messages will be marked with a grey shield on some platforms, but this may be missing in others. This attack is possible due to the matrix-ios-sdk implementing a too permissive key forwarding strategy. The default policy for accepting key forwards has been made more strict in the matrix-ios-sdk version 0.23.19. matrix-ios-sdk will now only accept forwarded keys in response to previously issued requests and only from own, verified devices. The SDK now sets a `trusted` flag on the decrypted message upon decryption, based on whether the key used to decrypt the message was received from a trusted source. Clients need to ensure that messages decrypted with a key with `trusted = false` are decorated appropriately (for example, by showing a warning for such messages). This attack requires coordination between a malicious home server and an attacker, so those who trust their home servers do not need a workaround.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- matrix-org · matrix-ios-sdk< 0.23.19
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- matrix-org
- Published
- September 2022
CoverageNo articles yet
No CyberSIXT article names CVE-2022-39257 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-322cwe.mitre.org
- matrix.org/blog/2022/09/28/upgrade-now-to-address-encryption-vulmatrix.org
- github.com/matrix-org/matrix-ios-sdk/commit/5ca86c328a5faaab429cgithub.com
- github.com/matrix-org/matrix-ios-sdk/releases/tag/v0.23.19github.com
- github.com/matrix-org/matrix-ios-sdk/security/advisories/GHSA-qxgithub.com