GHSA-23q2-5gf8-gjpp Enabling Authentication does not close all logged in socket connections immediately
Unknown
- Published
- Updated
- Exploit status
- No public exploit known
Description
Summary
This is basically GHSA-88j4-pcx8-q4q 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 and GHSA-88j4-pcx8-q4q
TBH this is quite a niche edge case, so I don't know if this even warrants a security report.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm uptime-kuma(npm) | < 1.23.12; <= 1.23.11 | 1.23.12 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm uptime-kuma(npm) | <= 1.23.11 | No fix listed |
| npm uptime-kuma(npm) | < 1.23.12 | 1.23.12 |
References
- github.com vendor-advisory
- github.com vendor-advisory
- github.com vendor-advisory
- github.com patch
- github.com
- github.com product