PT-2023-14817 · Discourse · Discourse
Jomaxro
·
Published
2023-01-05
·
Updated
2024-03-06
·
CVE-2022-46177
CVSS v3.1
5.7
Medium
| Vector | AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Discourse versions prior to 2.8.14 on the
stable branch
Discourse versions prior to 3.0.0.beta15 on the beta and tests-passed branchesDescription
Discourse is an option source discussion platform. When a user requests a password reset link email and then changes their primary email, the old reset email remains valid. If the old reset email is used to reset the password, the Discourse account's primary email would be re-linked to the old email, potentially leading to an account takeover if the old email address is compromised or has transferred ownership. This issue is mitigated by the SiteSetting
email token valid hours, which is currently set to 48 hours.Recommendations
For versions prior to 2.8.14 on the
stable branch, upgrade to version 2.8.14 to receive a patch.
For versions prior to 3.0.0.beta15 on the beta and tests-passed branches, upgrade to version 3.0.0.beta15 to receive a patch.
As a temporary workaround, consider lowering the email token valid hours setting as needed to minimize the risk of exploitation.Exploit
Fix
Insufficient Session Expiration
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Discourse