Account takeover via unconditional email verification
Published Feb 21, 2024 · Updated Aug 27, 2024
Incorrect authorization in Discourse Microsoft Authentication Plugin allows remote attackers to take over accounts through Microsoft sign-in. The primary_email_verified? method always returns true, so Discourse trusts an identity-provider email without verifying that its owner controls it. Exploitation requires the plugin to be enabled and the Microsoft application to accept accounts beyond a single organizational directory.
Summary
What happened
Incorrect authorization in Discourse Microsoft Authentication Plugin allows remote attackers to take over accounts through Microsoft sign-in. The primary_email_verified? method always returns true, so Discourse trusts an identity-provider email without verifying that its owner controls it. Exploitation requires the plugin to be enabled and the Microsoft application to accept accounts beyond a single organizational directory.
The record
- CVE
- CVE-2023-46241
- Published
- Feb 21, 2024
- Updated
- Aug 27, 2024
- Vendor
- Discourse
- Product
- Discourse Microsoft Authentication Plugin
- Classifications
- CWE-863, T1078
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 21, 2024CVE publishedPublication date reported by the CVE source.
- Aug 27, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< c40665f44509724b64938c85def9fb2e79f62ec8
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo