CVE-2024-45298 Disabled user can bypass lockout by requesting password reset in wiki.js
Disabled users can regain access to Wiki.js by abusing the password reset function, bypassing account restrictions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-45298?
CVE-2024-45298 is a medium-severity authentication bypass vulnerability in requarks wiki, published on 18 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Wiki.js is an open source wiki app built on Node.js. A disabled user can still gain access to a wiki by abusing the password reset function. While setting up SMTP e-mail's on my server, I tested said e-mails by performing a password reset with my test user. To my shock, not only did it let me reset my password, but after resetting my password I can get into the wiki I was locked out of. The ramifications of this bug is a user can **bypass an account disabling by requesting their password be reset**. All users of wiki.js version `2.5.303` who use any account restrictions and have disabled user are affected. This issue has been addressed in version 2.5.304 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-670
Which versions are affected by CVE-2024-45298?
How do I fix CVE-2024-45298?
No fix has been published for CVE-2024-45298 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2024-45298 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45298 exists.
Sources
Also known as GHSA-vwww-c5vg-xgfc.