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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.4
- **CVSS:** 7.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **EPSS:** 4.86% (percentile 93, 2026-11-26)
- **CWE:** CWE-89
- **Aliases:** EDB-50915
- **Published:** 2022-02-23T23:50:14.000Z
- **Modified:** 2026-06-17T04:32:20.343Z

## Who should check

- Anyone running anuko timetracker \< 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.

## Affected and fixed versions

- anuko timetracker: \< 1.20.0.5642 (cvelist)

## Mitigation

- Upgrade timetracker to 1.20.0.5642 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-24707. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-24707.md
Affected: anuko timetracker < 1.20.0.5642
Fixed in: anuko timetracker 1.20.0.5642

Steps:
1. Search this machine and project for anuko timetracker: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-24707 being exploited?

There is no confirmed exploitation: CVE-2022-24707 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 4.86% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-24707?

High: CVSS 7.4 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2022-24707?

anuko timetracker \< 1.20.0.5642.

### Is there a fix for CVE-2022-24707?

Yes. Fixed in anuko timetracker 1.20.0.5642. Upgrade timetracker to 1.20.0.5642 or later.

### How do I check if I'm affected by CVE-2022-24707?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/anuko/timetracker/security/advisories/GHSA-wqx7-95fx-wjxj>
- patch: <https://github.com/anuko/timetracker/commit/0e2d6563e2d969209c502a1eae4ddd8e87b73299>
- exploit: <http://packetstormsecurity.com/files/167060/Anuko-Time-Tracker-1.20.0.5640-SQL-Injection.html>
- exploit: <https://www.exploit-db.com/exploits/50915>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-24707>
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/50915>

HTML: <https://flawdb.com/CVE-2022-24707> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-24707>
