{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-24707 exists.","fix":"No fix has been published for CVE-2022-24707 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-24707 is a high-severity SQL injection vulnerability in anuko timetracker, published on 23 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-24707 and fix it if it is affected.\n\nWhat it is: CVE-2022-24707 is a high-severity SQL injection vulnerability in anuko timetracker, published on 23 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-24707 exists.\n\nAffected product: anuko timetracker. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-24707/ (Markdown: https://insights.sbomify.com/CVE-2022-24707/index.md)","id":"CVE-2022-24707","markdown":"https://insights.sbomify.com/CVE-2022-24707/index.md","name":"CVE-2022-24707","record":{"aliases":["GHSA-wqx7-95fx-wjxj"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Time tracking application","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary SQL commands via unsanitized date parameters in POST requests, potentially reading or modifying database contents.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"time_tracker","vendor":"anuko"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"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.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2022-05-03","github_poc":3,"max_poc_stars":13,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-05-03T01:11:56Z","kind":"github_poc","ref":"https://github.com/Altelus1/CVE-2022-24707","stars":13,"title":"PoC of CVE-2022-24707"},{"date":"2022-05-11","kind":"exploitdb","ref":"50915","stars":null,"title":"Anuko Time Tracker - SQLi (Authenticated)"},{"date":"2025-11-20T17:54:01Z","kind":"github_poc","ref":"https://github.com/thepiyushkumarshukla/CVE-2022-24707_AnukoTimeTracker_Version-1.20.0_POC","stars":0,"title":null},{"date":"2026-10-23T10:25:52Z","kind":"github_poc","ref":"https://github.com/c0gnit00/CVE-2022-24707","stars":0,"title":"POC for CVE-2022-24707, an authenticated SQL injection in Anuko Time Tracker’s Puncher plugin before 1.20.0.5642, caused by an unsanitized date POST parameter. It allows UNION-based and time-based blind SQL injection, enabling a logged-in user to dump the database"}],"tier":"weaponised"},"has_fix":false,"headline":"SQL injection in anuko timetracker","id":"CVE-2022-24707","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"Stored XSS vulnerability in anuko/timetracker","id":"CVE-2022-24708"},"packages":[],"prev":{"headline":"Apache CouchDB Insecure Default Initialization of Resource","id":"CVE-2022-24706"},"products":["timetracker"],"published":"2022-02-23","related":[{"cvss_score":9.8,"headline":"Business logic in n/a","id":"CVE-2020-27422","kev_date_added":null,"published":"2020-11-16"},{"cvss_score":8.8,"headline":"Time Tracker has Blind SQL Injection Vulnerability in Reports","id":"CVE-2023-32306","kev_date_added":null,"published":"2023-05-12"},{"cvss_score":8.7,"headline":"CSV injection in Anuko Time Tracker","id":"CVE-2020-15255","kev_date_added":null,"published":"2020-10-16"},{"cvss_score":8.2,"headline":"SQL Injection Vulnerability in anuko timetracker","id":"CVE-2023-32308","kev_date_added":null,"published":"2023-05-15"},{"cvss_score":8.1,"headline":"SQL injection vulnerability in anuko timetracker","id":"CVE-2021-43851","kev_date_added":null,"published":"2021-12-21"},{"cvss_score":8.1,"headline":"Reflected XSS vulnerability in time.php","id":"CVE-2021-41139","kev_date_added":null,"published":"2021-10-13"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2020-27423","kev_date_added":null,"published":"2020-11-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-22","vendors":["anuko"]},"summary":"Attackers can execute arbitrary SQL commands via unsanitized date parameters in POST requests, potentially reading or modifying database contents.","url":"https://insights.sbomify.com/CVE-2022-24707/"}