CVE-2023-42446 Pow Mnesia cache doesn't invalidate all expired keys on startup
MediumCVSS 6.5
EPSS 0.55%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
Pow is a authentication and user management solution for Phoenix and Plug-based apps. Starting in version 1.0.14 and prior to version 1.0.34, use of Pow.Store.Backend.MnesiaCache is susceptible to session hijacking as expired keys are not being invalidated correctly on startup. A session may expire when all Pow.Store.Backend.MnesiaCache instances have been shut down for a period that is longer than a session's remaining TTL. Version 1.0.34 contains a patch for this issue. As a workaround, expired keys, including all expired sessions, can be manually invalidated.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hex pow(Hex) | >= 1.0.14, < 1.0.34 | 1.0.34 | Fixed |
| powauth pow | >= 1.0.14, < 1.0.34 | 1.0.34 | Fixed |
| pow-auth pow | = >= 1.0.14, < 1.0.34 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hex pow(Hex) | >= 1.0.14, < 1.0.34 | 1.0.34 |
| pow-auth pow | = >= 1.0.14, < 1.0.34 | No fix listed |
| powauth pow | >= 1.0.14, < 1.0.34 | 1.0.34 |
References
- https://github.com/pow-auth/pow/security/advisories/GHSA-3cjh-p6pw-jhv9 vendor-advisory
- nvd.nist.gov third-party-advisory
- https://github.com/pow-auth/pow/issues/713 exploit issue-tracking
- github.com patch
- github.com patch
- github.com