CVE-2021-43851 SQL injection vulnerability in anuko timetracker
Attackers can execute arbitrary SQL commands via unvalidated group and status parameters in Anuko Time Tracker, potentially accessing or modifying data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-43851?
CVE-2021-43851 is a high-severity SQL injection vulnerability in anuko timetracker, published on 21 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Anuko Time Tracker is an open source, web-based time tracking application written in PHP. SQL injection vulnerability exist in multiple files in Time Tracker version 1.19.33.5606 and prior due to not properly checking of the "group" and "status" parameters in POST requests. Group parameter is posted along when navigating between organizational subgroups (groups.php file). Status parameter is used in multiple files to change a status of an entity such as making a project, task, or user inactive. This issue has been patched in version 1.19.33.5607. An upgrade is highly recommended. If an upgrade is not practical, introduce ttValidStatus function as in the latest version and start using it user input check blocks wherever status field is used. For groups.php fix, introduce ttValidInteger function as in the latest version and use it in the access check block in the file.
Weakness: CWE-89
Which versions are affected by CVE-2021-43851?
It affects 1 product.
Products include Anuko Time Tracker.
How do I fix CVE-2021-43851?
No fix has been published for CVE-2021-43851 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2021-43851 being exploited?
There is no known exploitation of CVE-2021-43851 in the wild and no public exploit code.