Lucene search

K
githubGitHub Advisory DatabaseGHSA-6P2Q-8QFQ-WQ7X
HistorySep 13, 2024 - 6:31 p.m.

Lunary improper access control vulnerability

2024-09-1318:31:48
CWE-284
GitHub Advisory Database
github.com
5
improper access control
lunary-ai
vulnerability
authorization tokens
jwt tokens
invite user functionality
arbitrary organizations
target email
one-time use token
password reset
account takeover

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

AI Score

7

Confidence

High

EPSS

0

Percentile

9.6%

An improper access control vulnerability exists in lunary-ai/lunary prior to commit 844e8855c7a713dc7371766dba4125de4007b1cf on the main branch. The vulnerability allows an attacker to use the auth tokens issued by the ‘invite user’ functionality to obtain valid JWT tokens. These tokens can be used to compromise target users upon registration for their own arbitrary organizations. The attacker can invite a target email, obtain a one-time use token, retract the invite, and later use the token to reset the password of the target user, leading to full account takeover.

Affected configurations

Vulners
Node
lunarylunaryRange<1.4.9
VendorProductVersionCPE
lunarylunary*cpe:2.3:a:lunary:lunary:*:*:*:*:*:*:*:*

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

AI Score

7

Confidence

High

EPSS

0

Percentile

9.6%

Related for GHSA-6P2Q-8QFQ-WQ7X