GHSA-23q2-5gf8-gjpp json
Enabling Authentication does not close all logged in socket connections immediately
published 2y ago modified 2y ago
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
### Summary This is basically [GHSA-88j4-pcx8-q4q](https://github.com/louislam/uptime-kuma/security/advisories/GHSA-88j4-pcx8-q4q3) but instead of changing passwords, when enabling authentication.
### PoC - Open Uptime Kuma with authentication disabled - Enable authentication using another window - Access the platform using the previously logged-in window - Note that access (read-write) remains despite the enabled authentication - Expected behaviour: - After enabling authentication, all previously connected sessions should be invalidated, requiring users to log in. - Actual behaviour: - The system retains sessions and never logs out users unless explicitly done by clicking logout or refreshing the page.
### Impact See [GHSA-g9v2-wqcj-j99g](https://github.com/louislam/uptime-kuma/security/advisories/GHSA-g9v2-wqcj-j99g) and [GHSA-88j4-pcx8-q4q](https://github.com/louislam/uptime-kuma/security/advisories/GHSA-88j4-pcx8-q4q3)
TBH this is quite a niche edge case, so I don't know if this even warrants a security report.
Patch / fix
Is GHSA-23q2-5gf8-gjpp in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | uptime-kuma | <1.23.12 |
1.23.12 |
Classification
- Weakness
-
- CWE-384 Session Fixation
References
-
github.com
/louislam/uptime-kuma/commit/7a9e2f5de69aa0bb884ead25d1dcc833bb8c6579
web
-
github.com
/louislam/uptime-kuma/security/advisories/GHSA-23q2-5gf8-gjpp
web
-
github.com
/louislam/uptime-kuma/security/advisories/GHSA-88j4-pcx8-q4q3
web
-
github.com
/louislam/uptime-kuma/security/advisories/GHSA-g9v2-wqcj-j99g
web
-
github.com
/louislam/uptime-kuma
package
Sources
- GitHub Advisory GHSA-23q2-5gf8-gjpp
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.