CVE-2022-46177
Last modified
CVE-2022-46177 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. Discourse is an option source discussion platform. Prior to version 2.8.14 on the `stable` branch and version 3.0.0.beta16 on the `beta` and `tests-passed` branches, when a user requests for a password reset link email, then changes their primary email, the old reset email is still valid. EPSS estimates a 0.68% chance of exploitation in the next 30 days.
Description
Discourse is an option source discussion platform. Prior to version 2.8.14 on the `stable` branch and version 3.0.0.beta16 on the `beta` and `tests-passed` branches, when a user requests for a password reset link email, then changes their primary email, the old reset email is still valid. When the old reset email is used to reset the password, the Discourse account's primary email would be re-linked to the old email. If the old email address is compromised or has transferred ownership, this leads to an account takeover. This is however mitigated by the SiteSetting `email_token_valid_hours` which is currently 48 hours. Users should upgrade to versions 2.8.14 or 3.0.0.beta15 to receive a patch. As a workaround, lower `email_token_valid_hours ` as needed.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Discourse | Discourse | < 2.8.14 | — |
| Discourse | Discourse | 1.1.0 | Beta1 |
| Discourse | Discourse | 1.2.0 | Beta1 |
| Discourse | Discourse | 1.3.0 | Beta1 |
| Discourse | Discourse | 1.4.0 | Beta1 |
| Discourse | Discourse | 1.5.0 | Beta1 |
| Discourse | Discourse | 1.6.0 | Beta1 |
| Discourse | Discourse | 1.7.0 | Beta1 |
| Discourse | Discourse | 1.8.0 | Beta1 |
| Discourse | Discourse | 1.9.0 | Beta1 |
| Discourse | Discourse | 2.0.0 | Beta1 |
| Discourse | Discourse | 2.1.0 | Beta1 |
| Discourse | Discourse | 2.2.0 | Beta1 |
| Discourse | Discourse | 2.3.0 | Beta1 |
| Discourse | Discourse | 2.4.0 | Beta1 |
| Discourse | Discourse | 2.5.0 | Beta1 |
| Discourse | Discourse | 2.6.0 | Beta1 |
| Discourse | Discourse | 2.7.0 | Beta1 |
| Discourse | Discourse | 2.8.0 | Beta1 |
| Discourse | Discourse | 2.9.0 | Beta1 |
| Discourse | Discourse | 3.0.0 | Beta15 |
References
- https://github.com/discourse/discourse/commit/4bf306f0e3bf54a9ef9c5886bf1cfb85c20da570Patch, Third Party Advisory
- https://github.com/discourse/discourse/commit/83944213b2b2454af80d0407f60d67641b1f0b38Patch, Third Party Advisory
- https://github.com/discourse/discourse/security/advisories/GHSA-5www-jxvf-vrc3Third Party Advisory
- https://github.com/discourse/discourse/commit/4bf306f0e3bf54a9ef9c5886bf1cfb85c20da570Patch, Third Party Advisory
- https://github.com/discourse/discourse/commit/83944213b2b2454af80d0407f60d67641b1f0b38Patch, Third Party Advisory
- https://github.com/discourse/discourse/security/advisories/GHSA-5www-jxvf-vrc3Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-46177?
How severe is CVE-2022-46177?
How do I fix CVE-2022-46177?
Are you affected by CVE-2022-46177?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
