CVE-2021-47966 PHP Timeclock 1.04 SQL Injection via login.php
Unauthenticated attackers can exploit blind SQL injection in PHP Timeclock to extract sensitive database contents, including employee names and credentials.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-47966?
CVE-2021-47966 is a high-severity SQL injection vulnerability in PHP Timeclock, published on 15 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
PHP Timeclock 1.04 contains time-based and boolean-based blind SQL injection vulnerabilities in the login_userid parameter of login.php that allows unauthenticated attackers to extract database contents. Attackers can submit crafted POST requests with SQL payloads using SLEEP functions or RLIKE conditional statements to dump sensitive database information including employee names and credentials.
Weakness: CWE-89
Which versions are affected by CVE-2021-47966?
How do I fix CVE-2021-47966?
No fix has been published for CVE-2021-47966 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-47966 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47966 exists.
Sources
Also known as GHSA-c527-x2v3-x59w.