• E2EE vulnerability in multiple Matrix clients

    From Oli@21:3/102 to All on Tue Sep 14 07:52:40 2021
    Full blog article: https://matrix.org/blog/2021/09/13/vulnerability-disclosure-key-sharing/

    === quote ===
    Disclosing CVE-2021-40823 and CVE-2021-40824: E2EE vulnerability in multiple Matrix clients
    2021-09-13 — Security — Denis Kasak, Dan Callahan, and Matthew Hodgson

    Today we are disclosing a critical security issue affecting multiple Matrix clients and libraries including Element (Web/Desktop/Android), FluffyChat, Nheko, Cinny, and SchildiChat. Element on iOS is not affected.

    Specifically, in certain circumstances it may be possible to trick vulnerable clients into disclosing encryption keys for messages previously sent by that client to user accounts later compromised by an attacker.

    Exploiting this vulnerability to read encrypted messages requires gaining control over the recipient’s account. This requires either compromising their credentials directly or compromising their homeserver.

    Thus, the greatest risk is to users who are in encrypted rooms containing malicious servers. Admins of malicious servers could attempt to impersonate their users' devices in order to spy on messages sent by vulnerable clients in that room.

    This is not a vulnerability in the Matrix or Olm/Megolm protocols, nor the libolm implementation. It is an implementation bug in certain Matrix clients and SDKs which support end-to-end encryption (“E2EE”).

    We have no evidence of the vulnerability being exploited in the wild.

    This issue was discovered during an internal audit by Denis Kasak, a security researcher at Element.

    Remediation and Detection

    Patched versions of affected clients are available now; please upgrade as soon as possible — we apologise sincerely for the inconvenience. If you are unable to upgrade, consider keeping vulnerable clients offline until you can. If vulnerable clients are offline, they cannot be tricked into disclosing keys. They may safely return online once updated.

    Unfortunately, it is difficult or impossible to retroactively identify instances of this attack with standard logging levels present on both clients and servers. However, as the attack requires account compromise, homeserver administrators may wish to review their authentication logs for any indications of inappropriate access.

    Similarly, users should review the list of devices connected to their account with an eye toward missing, untrusted, or non-functioning devices. Because an attacker must impersonate an existing or historical device, exploiting this vulnerability would either break an existing login on the user’s account, or a historical device would be re-added and flagged as untrusted.

    Lastly, if you have previously verified the users / devices in a room, you would witness the safety shield on the room turn red during the attack, indicating the presence of an untrusted and potentially malicious device.

    [...]
    === quote end ===

    ---
    * Origin: 1995| Invention of the Cookie. The End. (21:3/102)
  • From Ogg@21:4/106.21 to Oli on Tue Sep 14 09:18:00 2021
    Hello Oli!

    ** On Tuesday 14.09.21 - 07:52, Oli wrote to All:

    Full blog article: https://matrix.org/blog/2021/09/13/vulnerability-disclosure-key-sharing/

    === quote ===
    Disclosing CVE-2021-40823 and CVE-2021-40824: E2EE
    vulnerability in multiple Matrix clients 2021-09-13 ΓÇö
    Security ΓÇö Denis Kasak, Dan Callahan, and Matthew Hodgson

    Today we are disclosing a critical security issue affecting
    multiple Matrix clients and libraries including Element (Web/Desktop/Android), FluffyChat, Nheko, Cinny, and
    SchildiChat. Element on iOS is not affected.


    Wow. Thank's for the heads up. I use Element. Will have to
    see if there is an update.
    --

    --- OpenXP 5.0.50
    * Origin: Key ID = 0x5789589B (21:4/106.21)