Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-46177— Discourse password reset link can lead to in account takeover if user changes to a new email

Quick assessment

Affected
discourse discourse
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Discourse是一套开源的社区讨论平台。该平台包括社区、电子邮件和聊天室等功能。 Discourse 2.8.14之前版本存在代码问题漏洞,该漏洞源于当用户请求密码重置链接邮件,然后改变他们的主邮件,旧的重置邮件仍然有效,当旧的重置邮件被用来重置密码时,Discourse账户的主邮件将被重新链接到旧邮件,如果旧的电子邮件地址被泄露或所有权被转移,这将导致账户接管。

CVSS 5.7 · Medium EPSS 0.68% · P51

Possible ATT&CK Techniques 1 AI

T1078.003 · Local Accounts
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-46177

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Discourse password reset link can lead to in account takeover if user changes to a new email
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
不充分的会话过期机制
Source: CVE Program / CVE List V5
Vulnerability Title
Discourse 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Discourse是一套开源的社区讨论平台。该平台包括社区、电子邮件和聊天室等功能。 Discourse 2.8.14之前版本存在代码问题漏洞,该漏洞源于当用户请求密码重置链接邮件,然后改变他们的主邮件,旧的重置邮件仍然有效,当旧的重置邮件被用来重置密码时,Discourse账户的主邮件将被重新链接到旧邮件,如果旧的电子邮件地址被泄露或所有权被转移,这将导致账户接管。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
discourse discourse < 2.8.14 -

II. Public POCs for CVE-2022-46177

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-46177

请登录查看更多情报信息。

Patches & Fixes for CVE-2022-46177 (2)

Vendor Advisories for CVE-2022-46177 (1)

Same Patch Batch · discourse · 2023-01-05 · 8 CVEs total

CVE-2023-22454 8.0 HIGH Discourse vulnerable to Cross-site Scripting through pending post titles descriptions
CVE-2023-22455 6.8 MEDIUM Discourse vulnerable to Cross-site Scripting through tag descriptions
CVE-2022-23548 6.5 MEDIUM Discourse 跨站脚本漏洞
CVE-2022-23549 5.7 MEDIUM Discourse vulnerable to bypass of post max_length using HTML comments
CVE-2022-23546 5.5 MEDIUM Discourse vulnerable to private topic leak via email#send_digest
CVE-2023-22453 5.3 MEDIUM Discourse vulnerable to exposure of user post counts per topic to unauthorized users
CVE-2022-46168 3.5 LOW Group SMTP user emails are exposed in CC email header

IV. Related Vulnerabilities

V. Comments for CVE-2022-46177

No comments yet


Leave a comment