CVE-2023-49091 Jwttoken in Cosmos server never expires after password changed and logging out
Attackers can retain unauthorized access to Cosmos Server using JWT tokens that remain valid after user logout or password change.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-49091?
CVE-2023-49091 is a high-severity authentication bypass vulnerability in azukaar Cosmos-Server, published on 29 Nov 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cosmos provides users the ability self-host a home server by acting as a secure gateway to your application, as well as a server manager. Cosmos-server is vulnerable due to to the authorization header used for user login remaining valid and not expiring after log out. This vulnerability allows an attacker to use the token to gain unauthorized access to the application/system even after the user has logged out. This issue has been patched in version 0.13.1.
Weakness: CWE-613
Which versions are affected by CVE-2023-49091?
It affects 1 product.
Products include Cosmos-Cloud Cosmos Server.
How do I fix CVE-2023-49091?
No fix has been published for CVE-2023-49091 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-2023-49091 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49091 exists.
Sources
Also known as GHSA-hpvm-x7m8-3c6x.