SQL Injection in Timeclock PHP
CVE-2021-47966
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (17.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 17th percentile — 17.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Timeclock PHP — versions 1.04
Weakness classification (CWE)
References
- www.exploit-db.com/exploits/49849 (exploit)
- timeclock.sourceforge.net (product)
- sourceforge.net/projects/timeclock/files/PHP Timeclock/PHP Timeclock 1.04/ (product)
- www.vulncheck.com/advisories/php-timeclock-sql-injection-via-login-php (third-party-advisory)
Frequently asked questions
- What is CVE-2021-47966?
- CVE-2021-47966 is a high-severity vulnerability in Timeclock PHP, classified under SQL Injection. CVSS score: 8.2/10. Published 2026-05-15.
- How severe is CVE-2021-47966?
- High severity. CVSS v3 base score is 8.2 out of 10.