Description
ezBookkeeping 1.2.0 before 2.0.1 contains a privilege escalation vulnerability that allows attackers holding an API token to obtain a full session token via /api/v1/tokens/refresh.json. Because TokenRefreshHandler never checks token type, attackers can exchange short-lived or IP-restricted API tokens for 30-day normal session tokens that bypass API token expiry and allowlists.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mayswind | ezBookkeeping | 1.2.0 – < 2.0.1 | 2.0.1 |
References
- GitHub Security Advisory (GHSA-wq25-mpcf-2mfc) vendor-advisory
- Patch Commit patch
- ezBookkeeping v2.0.1 Release Notes release-notes
- TokenRefreshHandler at v2.0.0 technical-description
- https://github.com/mayswind/ezbookkeeping product
- VulnCheck Advisory: mayswind ezBookkeeping 1.2.0 before 2.0.1 Privilege Escalation via Token Refresh Endpoint third-party-advisory