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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-25618— External OpenID Connect Account Takeover by E-Mail Change in mastodon

Quick assessment

Affected
mastodon mastodon
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.

Mastodon是一款基于ActivityPub的开源社交网络服务器。 Mastodon存在授权问题漏洞,该漏洞源于OpenID Connect存在授权问题漏洞。

CVSS 4.2 · Medium EPSS 0.48% · P39

Possible ATT&CK Techniques 1 AI

T1110.004 · Credential Stuffing
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-25618

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
External OpenID Connect Account Takeover by E-Mail Change in mastodon
Source: CVE Program / CVE List V5
Vulnerability Description
Mastodon is a free, open-source social network server based on ActivityPub. Mastodon allows new identities from configured authentication providers (CAS, SAML, OIDC) to attach to existing local users with the same e-mail address. This results in a possible account takeover if the authentication provider allows changing the e-mail address or multiple authentication providers are configured. When a user logs in through an external authentication provider for the first time, Mastodon checks the e-mail address passed by the provider to find an existing account. However, using the e-mail address alone means that if the authentication provider allows changing the e-mail address of an account, the Mastodon account can immediately be hijacked. All users logging in through external authentication providers are affected. The severity is medium, as it also requires the external authentication provider to misbehave. However, some well-known OIDC providers (like Microsoft Azure) make it very easy to accidentally allow unverified e-mail changes. Moreover, OpenID Connect also allows dynamic client registration. This issue has been addressed in versions 4.2.6, 4.1.14, 4.0.14, and 3.5.18. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
认证机制不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Mastodon 授权问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Mastodon是一款基于ActivityPub的开源社交网络服务器。 Mastodon存在授权问题漏洞,该漏洞源于OpenID Connect存在授权问题漏洞。
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
mastodon mastodon >= 4.2.0, < 4.2.6 -

II. Public POCs for CVE-2024-25618

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-25618

登录查看更多情报信息。

Patches & Fixes for CVE-2024-25618 (1)

Vendor Advisories for CVE-2024-25618 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-25618

No comments yet


Leave a comment