CVE-2021-41100
Last modified
CVE-2021-41100 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. Wire-server is the backing server for the open source wire secure messaging application. In affected versions it is possible to trigger email address change of a user with only the short-lived session token in the `Authorization` header. EPSS estimates a 1.00% chance of exploitation in the next 30 days.
Description
Wire-server is the backing server for the open source wire secure messaging application. In affected versions it is possible to trigger email address change of a user with only the short-lived session token in the `Authorization` header. As the short-lived token is only meant as means of authentication by the client for less critical requests to the backend, the ability to change the email address with a short-lived token constitutes a privilege escalation attack. Since the attacker can change the password after setting the email address to one that they control, changing the email address can result in an account takeover by the attacker. Short-lived tokens can be requested from the backend by Wire clients using the long lived tokens, after which the long lived tokens can be stored securely, for example on the devices key chain. The short lived tokens can then be used to authenticate the client towards the backend for frequently performed actions such as sending and receiving messages. While short-lived tokens should not be available to an attacker per-se, they are used more often and in the shape of an HTTP header, increasing the risk of exposure to an attacker relative to the long-lived tokens, which are stored and transmitted in cookies. If you are running an on-prem instance and provision all users with SCIM, you are not affected by this issue (changing email is blocked for SCIM users). SAML single-sign-on is unaffected by this issue, and behaves identically before and after this update. The reason is that the email address used as SAML NameID is stored in a different location in the databse from the one used to contact the user outside wire. Version 2021-08-16 and later provide a new end-point that requires both the long-lived client cookie and `Authorization` header. The old end-point has been removed. If you are running an on-prem instance with at least some of the users invited or provisioned via SAML SSO and you cannot update then you can block `/self/email` on nginz (or in any other proxies or firewalls you may have set up). You don't need to discriminate by verb: `/self/email` only accepts `PUT` and `DELETE`, and `DELETE` is almost never used.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Wire | Wire-Server | < 2021-08-16 |
References
- https://github.com/wireapp/wire-server/security/advisories/GHSA-9rm2-w6pq-333mMitigation, Third Party Advisory
- https://github.com/wireapp/wire-server/security/advisories/GHSA-9rm2-w6pq-333mMitigation, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41100?
How severe is CVE-2021-41100?
How do I fix CVE-2021-41100?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41095Discourse is an open source discussion platform. There is a …6.1
- CVE-2021-41096Rucky is a USB HID Rubber Ducky Launch Pad for Android. Vers…7.5
- CVE-2021-41097aurelia-path is part of the Aurelia platform and contains ut…7.5
- CVE-2021-41098Nokogiri is a Rubygem providing HTML, XML, SAX, and Reader p…7.5
- CVE-2021-41099Redis is an open source, in-memory database that persists on…7.5
- CVE-2021-4110mruby is vulnerable to NULL Pointer Dereference7.5
- CVE-2021-41101wire-server is an open-source back end for Wire, a secure co…5.7
- CVE-2021-41103containerd is an open source container runtime with an empha…7.8
- CVE-2021-41104ESPHome is a system to control the ESP8266/ESP32. Anyone wit…7.5
- CVE-2021-41105FreeSWITCH is a Software Defined Telecom Stack enabling the …7.5
- CVE-2021-41106JWT is a library to work with JSON Web Token and JSON Web Si…3.3
- CVE-2021-41109Parse Server is an open source backend that can be deployed …7.5
Are you affected by CVE-2021-41100?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
