Cosmos: Authentication bypass via forward-auth header smuggling on Constellation tunnel in Cosmos-Server
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| azukaar | Cosmos-Server | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Azukaar | Cosmos-server |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-2rx5-2g7j-2659 | Cosmos-Server has an authentication bypass via forward-auth header smuggling on Constellation tunnel |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.299% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Azukaar
Azukaar cosmos-server |
|
| Vendors & Products |
Azukaar
Azukaar cosmos-server |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. Prior to 0.22.19, tokenMiddleware in src/proxy/routerGen.go can return through the Constellation tunnel bypass before removing x-cosmos-user, x-cosmos-role, x-cosmos-user-role, and x-cosmos-mfa headers and before invoking AdminOnlyWithRedirect. An attacker with a valid x-cstln-auth API key for an enrolled device who reaches Cosmos through the Constellation Nebula tunnel can supply a chosen x-cosmos-user value to a route with AuthEnabled enabled when the upstream application trusts that forward-auth header. The request can bypass Cosmos JWT, password, MFA, and AdminOnly checks, allowing user impersonation and admin-tier reads or writes exposed by the proxied application. This issue is fixed in version 0.22.19. | |
| Title | Cosmos: Authentication bypass via forward-auth header smuggling on Constellation tunnel in Cosmos-Server | |
| Weaknesses | CWE-285 CWE-290 |
|
| References |
| |
| Metrics |
cvssV3_1
|