CVE-2023-49091
JSON

8.8high

Jwttoken in Cosmos server never expires after password changed and logging out

Severity
8.8high CVSS:3.1 by GitHub_M
Exploit likelihood
0.92% (higher than 61% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
azukaar Cosmos-Server< 0.13.1CVE List
cosmos-cloud cosmos_server0.1.15, 0.1.16, 0.1.17, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3 and 42 moreNVD

All scores

GitHub_M8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-613

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Cosmos ofrece a los usuarios la posibilidad de autohospedar un servidor doméstico actuando como una puerta de enlace segura a su aplicación, así como un administrador de servidor. Cosmos-server es vulnerable debido a que el encabezado de autorización utilizado para el inicio de sesión del usuario sigue siendo válido y no caduca después del cierre de sesión. Esta vulnerabilidad permite a un atacante utilizar el token para obtener acceso no autorizado a la aplicación/sistema incluso después de que el usuario haya cerrado sesión. Este problema se solucionó en la versión 0.13.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-49091 changed 2025-01-21CVE Terms of Use
NVDCVE-2023-49091 changed 2026-06-17Public domain